diff --git a/tests/Middleware/RouterTest.php b/tests/Middleware/RouterTest.php index 3f5554e..42df4cd 100644 --- a/tests/Middleware/RouterTest.php +++ b/tests/Middleware/RouterTest.php @@ -244,7 +244,7 @@ public function testImmutability(): void { $original = $this->createRouterMiddleware(); - $this->assertNotSame($original, $original->ignoreMethodFailureHandle()); + $this->assertNotSame($original, $original->ignoreMethodFailureHandler()); $this->assertNotSame($original, $original->withNotAllowedResponseFactory($this->createNotAllowedResponseFactory())); $this->assertNotSame($original, $original->withOptionsResponseFactory($this->createOptionsResponseFactory())); }