And I add access role "TestRole" to user "TestUser" in account "SubAccount" | 0 ms | Passed |
And I add access role "TestRole" to user "TestUser" in account "SubAccount" | 0 ms | Passed |
And I configure user service | 0 ms | Passed |
And I count 1 | 0 ms | Passed |
And I count the access roles from user in account "SubAccount" | 0 ms | Passed |
And I create an account with name "SubAccount", organization name "Organization" and email adress "test@test.com" | 0 ms | Passed |
And I create role "TestRole" in account "SubAccount" | 0 ms | Passed |
And I create the access info entity in account "SubAccount" | 0 ms | Passed |
And I create user with name "TestUser" in account "SubAccount" | 0 ms | Passed |
And I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name TestRole already exists." | 0 ms | Passed |
And I logout | 0 ms | Passed |
And Scope with ID 1 | 0 ms | Passed |
Given I login as user with name "kapua-sys" and password "kapua-password" | 0 ms | Passed |
Scenario: Adding same role twice to user in child account | 12 ms | Passed |
Then An exception was thrown | 0 ms | Passed |