Skip to content

Commit

Permalink
test: update expected tree
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Jun 12, 2019
1 parent 2397429 commit 425244d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions test/show-permissions-state-machine-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ describe('RBAC Permissions State Machine', function () {
tymly_rbacPermissionsTree_1_0: {
'*': ['tymly_rbacAdmin']
},
tymly_rbacGrantRoleMembership_1_0: {
'*': ['tymly_rbacAdmin']
},
tymly_rbacGrantStateMachinePermission_1_0: {
'*': ['tymly_rbacAdmin']
},
Expand Down Expand Up @@ -141,14 +144,14 @@ describe('RBAC Permissions State Machine', function () {

it('refresh rbac index', async () => {
const refresh = await
statebox.startExecution(
{},
'tymly_rbacRefreshPermissions_1_0',
{
sendResponse: 'COMPLETE',
userId: adminUser
}
)
statebox.startExecution(
{},
'tymly_rbacRefreshPermissions_1_0',
{
sendResponse: 'COMPLETE',
userId: adminUser
}
)
expect(refresh.status).to.eql('SUCCEEDED')
})

Expand Down

0 comments on commit 425244d

Please sign in to comment.