From 6cee81025a90c54babc9d727c56be0224ddcec50 Mon Sep 17 00:00:00 2001 From: DerManoMann Date: Mon, 6 Jan 2025 17:00:02 +1300 Subject: [PATCH] Make test more portable --- tests/ContextTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/ContextTest.php b/tests/ContextTest.php index adfcac6b3..2fd363244 100644 --- a/tests/ContextTest.php +++ b/tests/ContextTest.php @@ -54,12 +54,11 @@ public function testDebugLocation(): void { $this->assertOpenApiLogEntryContains('Required @OA\PathItem() not found'); $openapi = (new Generator($this->getTrackingLogger())) - ->setAnalyser(new TokenAnalyser()) ->generate([$this->fixture('Customer.php')]); $customerSchema = $openapi->components->schemas[0]; $this->assertStringContainsString( - 'Fixtures/Customer.php on line 16', + 'Fixtures/Customer.php on line ', $customerSchema->_context->getDebugLocation() );