CSRF - Test fix (#4316)

This commit is contained in:
dgtlmoon
2026-08-20 15:13:16 +02:00
committed by GitHub
parent 3a7d18dd3c
commit 6b9040256a
@@ -24,7 +24,7 @@ def test_check_access_control(app, client, live_server, measure_memory_usage, da
# causes a 'Popped wrong request context.' error when client. is accessed?
wait_for_all_checks(client)
res = c.get(url_for("ui.form_watch_checknow"), follow_redirects=True)
res = c.post(url_for("ui.form_watch_checknow"), follow_redirects=True)
assert b'Queued 1 watch for rechecking.' in res.data
wait_for_all_checks(client)