Made member_ids readOnly

This commit is contained in:
Carlos Alcaide Corvo committed 2021-11-05 08:55:37 -07:00
1 parent 360bf0ffdd
commit 6022d7fc36
3 files changed
+5 -6

No files matched your search

@@ -48,6 +48,7 @@ export default class GeneratedManagedGroupModel extends BaseModel {
@attr('array', {
description:
'The IDs of the current set of members (accounts) that are associated with this ManagedGroup.',
readOnly: true,
})
member_ids
member_ids;
}
@@ -22,7 +22,6 @@ module('Unit | Serializer | Managed groups', function (hooks) {
assert.deepEqual(serializedRecord, {
name: 'Group',
description: 'Description',
member_ids: ['1', '2'],
version: 1,
auth_method_id: '1234',
type: '80',
@@ -53,7 +52,6 @@ module('Unit | Serializer | Managed groups', function (hooks) {
assert.deepEqual(serializedRecord, {
name: 'Group Test',
description: 'Description for the test',
member_ids: ['1', '2'],
version: 1,
auth_method_id: '1234',
type: '80',