Test Result : Scenario: Adding "admin" role twice

0 failures
13 tests
Took 17 ms.

All Tests

Test nameDurationStatus
And I add access role "admin" to user "TestUser"0 msPassed
And I add access role "admin" to user "TestUser"0 msPassed
And I create the access info entity0 msPassed
And I create user with name "TestUser"0 msPassed
And I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name admin already exists."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 twice17 msPassed
Then An exception was thrown0 msPassed
Then I count 10 msPassed
When I count the access roles from user "TestUser"0 msPassed