Test Result : Scenario: Adding "admin" role twice
0 failures
13 tests
All Tests
Test name | Duration | Status |
---|---|---|
And I add access role "admin" to user "TestUser" | 0 ms | Passed |
And I add access role "admin" to user "TestUser" | 0 ms | Passed |
And I create the access info entity | 0 ms | Passed |
And I create user with name "TestUser" | 0 ms | Passed |
And I expect the exception "KapuaDuplicateNameException" with the text "An entity with the same name admin already exists." | 0 ms | Passed |
And I find a role with name "admin" | 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 "admin" role twice | 12 ms | Passed |
Then An exception was thrown | 0 ms | Passed |
Then I count 1 | 0 ms | Passed |
When I count the access roles from user "TestUser" | 0 ms | Passed |