diff --git a/addons/api/tests/unit/serializers/application-test.js b/addons/api/tests/unit/serializers/application-test.js index c2fe164c9..242b269c1 100644 --- a/addons/api/tests/unit/serializers/application-test.js +++ b/addons/api/tests/unit/serializers/application-test.js @@ -170,6 +170,7 @@ module('Unit | Serializer | application', function (hooks) { id: '1', type: 'user', attributes: { + authorized_actions: [], name: 'User 1', account_ids: [], scope: { scope_id: 'o_123' }, @@ -200,6 +201,7 @@ module('Unit | Serializer | application', function (hooks) { id: '1', type: 'target', attributes: { + authorized_actions: [], name: 'Target 1', scope: { scope_id: 'o_123' }, host_sets: [], diff --git a/addons/api/tests/unit/serializers/group-test.js b/addons/api/tests/unit/serializers/group-test.js index 29d0e5d90..51621cf46 100644 --- a/addons/api/tests/unit/serializers/group-test.js +++ b/addons/api/tests/unit/serializers/group-test.js @@ -66,6 +66,7 @@ module('Unit | Serializer | group', function (hooks) { id: '1', type: 'group', attributes: { + authorized_actions: [], name: 'Group 1', scope: { scope_id: 'o_123' }, member_ids: [], diff --git a/addons/api/tests/unit/serializers/host-set-test.js b/addons/api/tests/unit/serializers/host-set-test.js index 015c7802b..9c5c8136e 100644 --- a/addons/api/tests/unit/serializers/host-set-test.js +++ b/addons/api/tests/unit/serializers/host-set-test.js @@ -67,6 +67,7 @@ module('Unit | Serializer | host set', function (hooks) { id: '1', type: 'host-set', attributes: { + authorized_actions: [], name: 'Host Set 1', host_ids: [{ value: '1' }, { value: '2' }, { value: '3' }], }, @@ -96,6 +97,7 @@ module('Unit | Serializer | host set', function (hooks) { id: '1', type: 'host-set', attributes: { + authorized_actions: [], name: 'Host Set 1', scope: { scope_id: 'o_123' }, host_ids: [], diff --git a/addons/api/tests/unit/serializers/role-test.js b/addons/api/tests/unit/serializers/role-test.js index 16336d035..f6c584cbc 100644 --- a/addons/api/tests/unit/serializers/role-test.js +++ b/addons/api/tests/unit/serializers/role-test.js @@ -67,6 +67,7 @@ module('Unit | Serializer | role', function (hooks) { id: '1', type: 'role', attributes: { + authorized_actions: [], name: 'Role 1', grant_strings: ['*', '*'], principals: [], @@ -93,6 +94,7 @@ module('Unit | Serializer | role', function (hooks) { id: '1', type: 'role', attributes: { + authorized_actions: [], name: 'Role 1', scope: { scope_id: 'o_123' }, principals: [], diff --git a/addons/api/tests/unit/serializers/target-test.js b/addons/api/tests/unit/serializers/target-test.js index 12dcacd4b..d7103cc0e 100644 --- a/addons/api/tests/unit/serializers/target-test.js +++ b/addons/api/tests/unit/serializers/target-test.js @@ -110,6 +110,7 @@ module('Unit | Serializer | target', function (hooks) { id: '1', type: 'target', attributes: { + authorized_actions: [], name: 'Target 1', host_sets: [ { host_set_id: '1', host_catalog_id: '2' }, @@ -143,6 +144,7 @@ module('Unit | Serializer | target', function (hooks) { id: '1', type: 'target', attributes: { + authorized_actions: [], name: 'Target 1', scope: { scope_id: 'o_123' }, host_sets: [], diff --git a/addons/api/tests/unit/serializers/user-test.js b/addons/api/tests/unit/serializers/user-test.js index 4ca1800d6..a30522b36 100644 --- a/addons/api/tests/unit/serializers/user-test.js +++ b/addons/api/tests/unit/serializers/user-test.js @@ -62,6 +62,7 @@ module('Unit | Serializer | user', function (hooks) { id: '1', type: 'user', attributes: { + authorized_actions: [], name: 'user 1', scope: { scope_id: 'o_123' }, account_ids: [],