refactor(test): use http constants in tests
Description
Replace hard-coded HTTP verbs and status codes in tests with constants from http
package.
Related Issues
Resolves #1243 (closed)
How has this been tested?
The change should be tested by the current tests.
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Refactor
Closes #1243 (closed)