Browse Source

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

shalvah 1 year ago
parent
commit
6a9d51b3a2

+ 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',
                 ],
             ],