Преглед изворни кода

Fix getting Postman base URL

shalvah пре 4 година
родитељ
комит
c0837c9f7d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      tests/Unit/PostmanCollectionWriterTest.php

+ 1 - 1
tests/Unit/PostmanCollectionWriterTest.php

@@ -15,7 +15,7 @@ class PostmanCollectionWriterTest extends TestCase
 
     public function testCorrectStructureIsFollowed()
     {
-        $config = ['title' => 'Test API', 'description' => 'A fake description'];
+        $config = ['title' => 'Test API', 'description' => 'A fake description', 'base_url' => 'http://localhost'];
 
         $writer = new PostmanCollectionWriter(new DocumentationConfig($config));
         $collection = $writer->generatePostmanCollection(new Collection());