diff --git a/src/test/php/web/frontend/unittest/HtmxFlowTest.class.php b/src/test/php/web/frontend/unittest/HtmxFlowTest.class.php index 6e71150..4d142dc 100755 --- a/src/test/php/web/frontend/unittest/HtmxFlowTest.class.php +++ b/src/test/php/web/frontend/unittest/HtmxFlowTest.class.php @@ -40,7 +40,7 @@ public function authenticate($request, $response, $session) { #[Test] public function returns_error_code_and_triggers_authenticationexpired_event() { - $res= $this->authenticate(['Hx-Request' => 'true'], new HtmxFlow(new class() extends Flow { + $res= $this->authenticate(['HX-Request' => 'true'], new HtmxFlow(new class() extends Flow { public function authenticate($request, $response, $session) { throw new IllegalStateException('Never called'); }