...
Test case for role check of the add/update/remove features of the REST project service.
Procedure 1
- Authenticate "viewer.user" with "viewer.password"
- Attempt to add a project
- TEST: Failure because viewer does not have permissions
- Attempt to update an existing project
- TEST: Failure because viewer does not have permissions
- Attempt to remove an existing project
- TEST: Failure because viewer does not have permissions
Procedure 2
- Authenticate "admin.user" with "admin.password"
- Attempt to add a project
- TEST: Project exists and is equal.
- Attempt to update an existing project
- TEST: Project is updated and is equal
- Attempt to remove an existing projectTEST: Project is removedn/a - admin case is already tested by normal use
Expected Runtime
- < 1 sec
Notes
...