Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Name

Expected result

Parameters

Actual result

SuccessComments
1addGraphTest()Returns a 200 status code back to the user.

tabID = 1

graphID = 1

graphType = "line"

Returns a 200 response code, which means that the response is OK.Yes
2

deleteGraphTest()

Returns a 200 status code back to the user.
Returns a 200 response code, which means that the response is OK.Yes
(see comments)
This method does work, but doesn't test if it works with a wrong input given. This is because the thrown exception gets mapped by the mapper with the Provider annotation. This test strictly tests if the mapper does return the 403 code given by the user.

...