We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f1a45a commit f2918d5Copy full SHA for f2918d5
2 files changed
tests/DemoApp/AppTest.php
@@ -23,10 +23,12 @@ protected function setUp(): void
23
{
24
require_once __DIR__ . '/../init-configuration.php';
25
26
+ $config = loadConfig();
27
+
28
$this->client = new Client(
29
[
- 'base_uri' => loadConfig()['base_uri'],
- 'headers' => ['x-coverage-id' => 'pcov'],
30
+ 'base_uri' => $config['base_uri'],
31
+ 'headers' => ['x-coverage-id' => $config['x-coverage-value']],
32
'http_errors' => false,
33
]
34
);
tests/ui-test-config.php
@@ -13,4 +13,5 @@
13
'datetime' => 'M d, Y H:i:s',
14
],
15
'base_uri' => 'http://127.0.0.1:7000',
16
+ 'x-coverage-value' => 'pcov',
17
];
0 commit comments