Procházet zdrojové kódy

Fix getting Postman base URL

shalvah před 4 roky
rodič
revize
c0837c9f7d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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());