Gabriel Peixoto 6 年之前
父節點
當前提交
a2a00293ca
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/GenerateDocumentationTest.php

+ 1 - 1
tests/GenerateDocumentationTest.php

@@ -220,7 +220,7 @@ class GenerateDocumentationTest extends TestCase
         config(['apidoc.routes.0.match.prefixes' => ['api/*']]);
         $this->artisan('apidoc:generate');
 
-        $generatedCollection = json_decode(file_get_contents(__DIR__.'/../../public/docs/collection.json'));
+        $generatedCollection = json_decode(file_get_contents(__DIR__.'/../public/docs/collection.json'));
         $generatedCollection->info->_postman_id = '';
         $fixtureCollection = json_decode(file_get_contents(__DIR__.'/Fixtures/collection.json'));
         $this->assertEquals($generatedCollection, $fixtureCollection);