diff --git a/features/bootstrap/Aws/Test/Integ/ClientSideMonitoringContext.php b/features/bootstrap/Aws/Test/Integ/ClientSideMonitoringContext.php index 34e1502770..398ba822da 100644 --- a/features/bootstrap/Aws/Test/Integ/ClientSideMonitoringContext.php +++ b/features/bootstrap/Aws/Test/Integ/ClientSideMonitoringContext.php @@ -21,6 +21,8 @@ use PHPUnit\Framework\Assert; use Yoast\PHPUnitPolyfills\TestCases\TestCase; +use function Aws\getenv; + class ClientSideMonitoringContext extends TestCase implements Context, SnippetAcceptingContext { diff --git a/features/bootstrap/Aws/Test/Integ/IntegUtils.php b/features/bootstrap/Aws/Test/Integ/IntegUtils.php index 46bdd1e6f0..2d2c84a187 100644 --- a/features/bootstrap/Aws/Test/Integ/IntegUtils.php +++ b/features/bootstrap/Aws/Test/Integ/IntegUtils.php @@ -1,6 +1,8 @@ assertEquals(false, Aws\getenv('FOO')); + $this->assertEquals($_ENV['FOO'] = 'bar', Aws\getenv('FOO')); + } }