We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 988c53d commit 78465fdCopy full SHA for 78465fd
tests/atlas.phpt
@@ -7,11 +7,6 @@ Atlas Connectivity Tests
7
<?php
8
require_once __DIR__ . "/utils/basic.inc";
9
10
-function extractUri(string $env): ?string
11
-{
12
- return getenv($env) ?: null;
13
-}
14
-
15
function extractUriWithCertificate(string $env): ?array
16
{
17
$uri = getenv($env);
@@ -78,7 +73,7 @@ $x509Envs = [
78
73
79
74
foreach ($envs as $env) {
80
75
echo $env, ': ';
81
- $uri = extractUri($env);
76
+ $uri = getenv($env);
82
77
83
if (! is_string($uri)) {
84
echo "FAIL: env var is undefined\n";
0 commit comments