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

0 failures
15 tests
Took 14 ms.

All Tests

Test nameDurationStatus
And I add access role "TestRole" to user "TestUser" in account "SubAccount"0 msPassed
And I add access role "TestRole" to user "TestUser" in account "SubAccount"0 msPassed
And I configure user service0 msPassed
And I count 10 msPassed
And I count the access roles from user in account "SubAccount"0 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 same role twice to user in child account14 msPassed
Then An exception was thrown0 msPassed