aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/engine.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-01-05 14:52:25 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-01-05 14:52:25 +0000
commitcaf1482e72bd3f6aff641fe5a6b79ae6e660e577 (patch)
tree76fa7f3ccaab70f34c722a7aa30b8a1c6dde0f50 /t/app/engine.t
parent39f311fae6396a9344da02bef8d5edcbea84ec90 (diff)
parenta9932722b4cf2103d35f8f4c23ad2918aad0a96c (diff)
Merge branch 'add-samesite-lax-cookie'
Diffstat (limited to 't/app/engine.t')
-rw-r--r--t/app/engine.t9
1 files changed, 9 insertions, 0 deletions
diff --git a/t/app/engine.t b/t/app/engine.t
new file mode 100644
index 000000000..d99c5e087
--- /dev/null
+++ b/t/app/engine.t
@@ -0,0 +1,9 @@
+use FixMyStreet::Test;
+
+use Catalyst::Test 'FixMyStreet::App';
+
+my $res = request("/?_override_foo=bar");
+
+like $res->headers->header('Set-Cookie'), qr/SameSite=Lax/;
+
+done_testing;