diff --git a/tests/Feature/Api/PublicApiDocumentationTest.php b/tests/Feature/Api/PublicApiDocumentationTest.php index 361e632..74c8180 100644 --- a/tests/Feature/Api/PublicApiDocumentationTest.php +++ b/tests/Feature/Api/PublicApiDocumentationTest.php @@ -14,7 +14,7 @@ class PublicApiDocumentationTest extends TestCase $content = (string) $response->getContent(); $this->assertMatchesRegularExpression('/"hideClientButton"\s*:\s*true/', $content); - $this->assertMatchesRegularExpression('/"mcp"\s*:\s*\{\s*"disabled"\s*:\s*true\s*\}/', $content); + $this->assertMatchesRegularExpression('/"mcp"\s*:\s*\{[^}]*"disabled"\s*:\s*true/', $content); } public function test_openapi_document_is_publicly_served(): void