summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerf Null <derf@finalrewind.org>2023-06-04 21:16:28 +0200
committerDerf Null <derf@finalrewind.org>2023-06-04 21:16:28 +0200
commitdfe07939a2509654324ff7b694371a16931acd89 (patch)
treefd9feac6886c1a722bcb60af3ff6a46fdcbea055
parentb99620a28366618f4d0f04770910f68f2d6abfad (diff)
update registration test for new CSRF validation
-rw-r--r--t/02-registration.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02-registration.t b/t/02-registration.t
index cd2201a..3acf40a 100644
--- a/t/02-registration.t
+++ b/t/02-registration.t
@@ -62,7 +62,7 @@ $t->post_ok(
password2 => 'foofoofoo',
}
);
-$t->status_is(200)->content_like(qr{CSRF});
+$t->status_is(400)->content_like(qr{CSRF});
# Failed registration (user name not available)
$t->post_ok(