diff --git a/packages/@webex/test-users/src/index.js b/packages/@webex/test-users/src/index.js index de5f5408e15..8a94fbad44b 100644 --- a/packages/@webex/test-users/src/index.js +++ b/packages/@webex/test-users/src/index.js @@ -59,7 +59,8 @@ function getClientCredentials({clientId, clientSecret, idbrokerUrl}) { json: true, form: { grant_type: 'client_credentials', - scope: 'Identity:SCIM webexsquare:get_conversation', + scope: + 'Identity:SCIM webexsquare:get_conversation spark-test-account:write spark-test-account:read', client_id: clientId, client_secret: clientSecret, }, diff --git a/packages/@webex/test-users/test/integration/spec/index.js b/packages/@webex/test-users/test/integration/spec/index.js index 09fc9d55456..1d45825b1f2 100644 --- a/packages/@webex/test-users/test/integration/spec/index.js +++ b/packages/@webex/test-users/test/integration/spec/index.js @@ -139,6 +139,7 @@ nodeOnly(describe)('test-users', () => { createTestUser({ machineType: 'LYRA_SPACE', type: 'MACHINE', + emailAddress, }).then((u) => { assert.isTestUser(u); assert.equal(u.type, 'MACHINE', 'type is MACHINE');