From dcec3bd42029ab534912d598d930fc9cb15a37c9 Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Mon, 18 Nov 2024 11:35:51 -0500 Subject: [PATCH] Add a test to ensure referrerpolicy is set --- tests/src/Functional/NoReferrerTest.php | 56 +++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 tests/src/Functional/NoReferrerTest.php diff --git a/tests/src/Functional/NoReferrerTest.php b/tests/src/Functional/NoReferrerTest.php new file mode 100644 index 0000000..2c1d068 --- /dev/null +++ b/tests/src/Functional/NoReferrerTest.php @@ -0,0 +1,56 @@ +config('turnstile.settings') + ->set('site_key', '1x00000000000000000000AA') + ->set('secret_key', '1x0000000000000000000000000000000AA') + ->save(); + } + + /** + * Tests referrerpolicy is set on cloudflare