Forráskód Böngészése

Fix getting Postman base URL

shalvah 4 éve
szülő
commit
c0837c9f7d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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());