Test Result : Scenario: Add same role to user twice

0 failures
13 tests
Took 21 ms.

All Tests

Test nameDurationStatus
And An exception was thrown0 msPassed
And I add access role "test_role" to user "user1"0 msPassed
And I add access role "test_role" to user "user1"0 msPassed
And I add credentials0 msPassed
And I configure user service0 msPassed
And I create the access info entity0 msPassed
And I create the following role0 msPassed
And I create user with name "user1"0 msPassed
And I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name test_role already exists."0 msPassed
And Scope with ID 10 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Add same role to user twice21 msPassed
Then I logout0 msPassed