...
Name | Expected result | Parameters | Actual result | Success | Comments | |
---|---|---|---|---|---|---|
1 | getSettingsWithGoodJWT() | A 200 response code. | token = usernameErik sensor = "Oil temperature" | Returns a 200 response code, which means that the response is OK. | Yes | |
23 | getSettingsWithWithWrongJWT() | A 403 response code. | token = "WrongToken" sensor = "Oil temperature" | Returns a 403 response code, which means it was a FORBIDDEN request. | Yes |
Table 16: Tests in SensorSettingsResourceTest
...