Test Result : Scenario: Add same permission twice to the same role
0 failures
14 tests
All Tests
Test name | Duration | Status |
---|---|---|
And I configure user service | 0 ms | Passed |
And I create the access info entity | 0 ms | Passed |
And I create the following role | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create the following role permissions | 0 ms | Passed |
And I create user with name "user1" | 0 ms | Passed |
And I expect the exception "KapuaEntityUniquenessException" | 0 ms | Passed |
And I logout | 0 ms | Passed |
And I select the domain "user" | 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: Add same permission twice to the same role | 12 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then No exception was thrown | 0 ms | Passed |