Skip to content

Commit

Permalink
test: use correct HTTP method for /passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
csirianni committed Nov 3, 2023
1 parent ef5ed19 commit 0c0be4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions backend/test/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ TEST_CASE("Test endpoints return response code 200")
SECTION("Passwords")
{
req.url = "/passwords";
req.method = "POST"_method;
req.add_header("Access-Control-Allow-Headers", "*");
req.add_header("Content-Type", "application/json");
req.body = "TestPass1&";

app.handle(req, res);
CHECK(res.code == 200);
Expand Down

0 comments on commit 0c0be4e

Please sign in to comment.