Review follow-up for PR #38: stabilize Scalar docs assertions #54

Merged
Twyco merged 2 commits from koda/pr38-review-fixes into codex/public-api-docs 2026-04-24 09:11:10 +00:00
Showing only changes of commit 9f87c2eca0 - Show all commits
@@ -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