Test Result : Scenario: Adding "admin" role to a user in a child account

0 failures
14 tests
Took 12 ms.

All Tests

Test nameDurationStatus
And I configure user service0 msPassed
And I count 10 msPassed
And I count the roles in scope 10 msPassed
And I create an account with name "SubAccount", organization name "Organization" and email adress "test@test.com"1 msPassed
And I create the access info entity in account "SubAccount"0 msPassed
And I create user with name "TestUser" in account "SubAccount"0 msPassed
And I expect the exception "KapuaEntityNotFoundException" with the text "The entity of type role with id/name 1 was not found"0 msPassed
And I find a role with name "admin"0 msPassed
And I logout0 msPassed
And Scope with ID 10 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Adding "admin" role to a user in a child account11 msPassed
Then An exception was thrown0 msPassed
When I add access role "admin" to user "TestUser" in account "SubAccount"0 msPassed