File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ protected function tearDown(): void
6363 public function testPrepareRespectsDisableOnHeaders (): void
6464 {
6565 // Set up the new configuration property
66- $ this ->config ->disableOnHeaders = ['HX-Request ' ];
66+ $ this ->config ->disableOnHeaders = ['HX-Request ' => ' true ' ];
6767 Factories::injectMock ('config ' , 'Toolbar ' , $ this ->config );
6868
6969 // Initialize Request with the custom header
@@ -85,7 +85,7 @@ public function testPrepareRespectsDisableOnHeaders(): void
8585
8686 public function testPrepareInjectsNormallyWithoutIgnoredHeader (): void
8787 {
88- $ this ->config ->disableOnHeaders = ['HX-Request ' ];
88+ $ this ->config ->disableOnHeaders = ['HX-Request ' => ' true ' ];
8989 Factories::injectMock ('config ' , 'Toolbar ' , $ this ->config );
9090
9191 $ this ->request = service ('incomingrequest ' , null , false );
You can’t perform that action at this time.
0 commit comments