Test Result : Scenario: Adding the same role to user twice in child account

0 failures
13 tests
Took 13 ms.

All Tests

Test nameDurationStatus
And I add access role "TestRole" to user "TestUser" in account "SubAccount"0 msPassed
And I configure user service0 msPassed
And I create an account with name "SubAccount", organization name "Organization" and email adress "test@test.com"0 msPassed
And I create role "TestRole" in account "SubAccount"0 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 "KapuaDuplicateNameException" with the text "An entity with the same name TestRole already exists."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 the same role to user twice in child account13 msPassed
Then An exception was thrown0 msPassed
When I add access role "TestRole" to user "TestUser" in account "SubAccount"0 msPassed