Skip to content

Commit

Permalink
test(noti): use delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
t-h2o committed Dec 7, 2024
1 parent 1b7f838 commit 948ca7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
check_get_token_pictures,
check_post_token_pictures,
check_put_token_pictures,
check_delete_token,
)

HTTP_405 = b"<!doctype html>\n<html lang=en>\n<title>405 Method Not Allowed</title>\n<h1>Method Not Allowed</h1>\n<p>The method is not allowed for the requested URL.</p>\n"
Expand Down Expand Up @@ -890,7 +891,7 @@ def _test_delete_notification():
},
)
for notification in notifications:
check_get_token(
check_delete_token(
f"/api/notification/{notification['id']}",
201,
{
Expand Down

0 comments on commit 948ca7a

Please sign in to comment.