diff --git a/test/v1_0_2/configs/actors.js b/test/v1_0_2/configs/actors.js index 4da4118..c080730 100644 --- a/test/v1_0_2/configs/actors.js +++ b/test/v1_0_2/configs/actors.js @@ -1123,7 +1123,7 @@ name: 'statement authority "group account" property exists', templates: [ {statement: '{{statements.authority}}'}, - {authority: '{{groups.identified_account}}'} + {authority: '{{groups.authority_group}}'} ], expect: [200] }, diff --git a/test/v1_0_2/configs/groups.js b/test/v1_0_2/configs/groups.js index 1c749ee..7a2f904 100644 --- a/test/v1_0_2/configs/groups.js +++ b/test/v1_0_2/configs/groups.js @@ -108,7 +108,7 @@ name: 'statement authority "objectType" accepts "Group"', templates: [ {statement: '{{statements.authority}}'}, - {authority: '{{groups.default}}'} + {authority: '{{groups.authority_group}}'} ], expect: [200] }, @@ -184,7 +184,7 @@ name: 'statement authority does not require functional identifier', templates: [ {statement: '{{statements.authority}}'}, - {authority: '{{groups.anonymous}}'} + {authority: '{{groups.authority_group}}'} ], expect: [200] }, diff --git a/test/v1_0_2/templates/groups/authority_group.json b/test/v1_0_2/templates/groups/authority_group.json new file mode 100644 index 0000000..db2ce48 --- /dev/null +++ b/test/v1_0_2/templates/groups/authority_group.json @@ -0,0 +1,14 @@ +{ + "objectType": "Group", + "member": [ + { + "account": { + "homePage": "http://example.com/xAPI/OAuth/Token", + "name": "oauth_consumer_x75db" + } + }, + { + "mbox": "mailto:bob_authority@example.com" + } + ] +} \ No newline at end of file