Преглед на файлове

Don't export auth.use_value to Postman (closes #701)

shalvah преди 1 година
родител
ревизия
6a9d51b3a2
променени са 3 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 1
      src/Writing/PostmanCollectionWriter.php
  2. 0 1
      tests/Fixtures/collection.json
  3. 0 1
      tests/Unit/PostmanCollectionWriterTest.php

+ 0 - 1
src/Writing/PostmanCollectionWriter.php

@@ -80,7 +80,6 @@ class PostmanCollectionWriter
                 'bearer' => [
                     [
                         'key'   => $this->config->get('auth.name'),
-                        'value' => $this->config->get('auth.use_value'),
                         'type'  => 'string',
                     ],
                 ],

+ 0 - 1
tests/Fixtures/collection.json

@@ -344,7 +344,6 @@
     "bearer": [
       {
         "key": "key",
-        "value": null,
         "type": "string"
       }
     ]

+ 0 - 1
tests/Unit/PostmanCollectionWriterTest.php

@@ -229,7 +229,6 @@ class PostmanCollectionWriterTest extends TestCase
             'bearer' => [
                 [
                     'key'   => null,
-                    'value' => null,
                     'type'  => 'string',
                 ],
             ],