diff --git a/tests/ScratchTest.php b/tests/ScratchTest.php index 7b965c21..916a4490 100644 --- a/tests/ScratchTest.php +++ b/tests/ScratchTest.php @@ -45,7 +45,7 @@ public function testScratch(string $scratch, string $spec, array $expectedLog): $openapi = (new Generator($this->getTrackingLogger())) ->generate([$scratch]); - if (true ||!file_exists($spec)) { + if (!file_exists($spec)) { file_put_contents($spec, $openapi->toYaml()); }