Challenge: Method-Level Security
Test yourself by writing two DELETE tests for deleting users.
We'll cover the following...
We’ve tested that adding a new Item
to inventory is properly secured. It’s left as an exercise to verify that the DELETE
operation also works as expected.
Problem statement
Let’s write at least two test cases for deleting authorized and unauthorized users. ...