Test Result : Scenario: Adding Account:Read permission to user in same scope

0 failures
23 tests
Took 10 ms.

All Tests

Test nameDurationStatus
And A generic user0 msPassed
And Account0 msPassed
And Add permissions to the last created user0 msPassed
And I add credentials0 msPassed
And I expect the exception "KapuaIllegalNullArgumentException" with the text "An illegal null value was provided"0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
And I expect the exception "SubjectUnauthorizedException" with the text "User does not have permission"0 msPassed
And I logout0 msPassed
And I select account "kapua-sys"0 msPassed
Given I login as user with name "kapua-sys" and password "kapua-password"0 msPassed
Scenario: Adding Account:Read permission to user in same scope10 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then An exception was thrown0 msPassed
Then I logout0 msPassed
Then I search for the account with the remembered account Id0 msPassed
When I delete account "kapua-sys"0 msPassed
When I delete account "subAccount0"0 msPassed
When I login as user with name "user0" and password "ToManySecrets123#"0 msPassed
When I modify the account "kapua-sys"0 msPassed
When I modify the account "subAccount0"0 msPassed