Test Result : Scenario: Create with permissions and a role in the wrong scope

0 failures
15 tests
Took 4 ms.

All Tests

Test nameDurationStatus
And I create the domain0 msPassed
And I have the following user0 msPassed
And The permissions "read, write, execute"0 msPassed
And The role "test_role_1"0 msPassed
Given I expect the exception "KapuaAuthorizationException" with the text "Role not found in the scope:"0 msPassed
Given Scope with ID 100 msPassed
Given Scope with ID 100 msPassed
Given Scope with ID 200 msPassed
Scenario: Create with permissions and a role in the wrong scope4 msPassed
Then An exception was thrown0 msPassed
Then I logout0 msPassed
When I configure the role service for the account with the id 200 msPassed
When I configure the user service for the account with the id 100 msPassed
When I create the access info entity0 msPassed
When I login as user with name "kapua-sys" and password "kapua-password"0 msPassed