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() );