File tree Expand file tree Collapse file tree 3 files changed +0
-43
lines changed
Expand file tree Collapse file tree 3 files changed +0
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ public function boot()
4242 ->pushMiddleware (\Statamic \Http \Middleware \PoweredByHeader::class)
4343 ->pushMiddleware (\Statamic \Http \Middleware \CheckComposerJsonScripts::class)
4444 ->pushMiddleware (\Statamic \Http \Middleware \CheckMultisite::class)
45- ->pushMiddleware (\Statamic \Http \Middleware \DisableFloc::class)
4645 ->pushMiddleware (\Statamic \Http \Middleware \StopImpersonating::class);
4746
4847 $ this ->loadViewsFrom ("{$ this ->root }/resources/views " , 'statamic ' );
Original file line number Diff line number Diff line change @@ -546,23 +546,6 @@ public function doesnt_send_powered_by_header_if_disabled()
546546 $ this ->get ('about ' )->assertHeaderMissing ('X-Powered-By ' , 'Statamic ' );
547547 }
548548
549- #[Test]
550- public function disables_floc_through_header_by_default ()
551- {
552- $ this ->createPage ('about ' );
553-
554- $ this ->get ('about ' )->assertHeader ('Permissions-Policy ' , 'interest-cohort=() ' );
555- }
556-
557- #[Test]
558- public function doesnt_disable_floc_through_header_if_disabled ()
559- {
560- config (['statamic.system.disable_floc ' => false ]);
561- $ this ->createPage ('about ' );
562-
563- $ this ->get ('about ' )->assertHeaderMissing ('Permissions-Policy ' , 'interest-cohort=() ' );
564- }
565-
566549 #[Test]
567550 public function headers_can_be_set_in_content ()
568551 {
You can’t perform that action at this time.
0 commit comments