From fd8c47cd95f4229bbd565fe8c2fd7e9a52c3280f Mon Sep 17 00:00:00 2001 From: Dayamond Date: Tue, 21 Oct 2025 17:41:52 +0200 Subject: [PATCH] Add logout route test --- tests/Logout.bru | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/Logout.bru diff --git a/tests/Logout.bru b/tests/Logout.bru new file mode 100644 index 0000000..0b6cbbd --- /dev/null +++ b/tests/Logout.bru @@ -0,0 +1,25 @@ +meta { + name: Logout + type: http + seq: 8 +} + +post { + url: http://localhost:8000/api/users/logout + body: none + auth: inherit +} + +headers { + X-XSRF-TOKEN: + Accept: application/json +} + +assert { + res.status: eq 200 +} + +settings { + encodeUrl: true + timeout: 0 +}