diff --git a/tests/phpunit/src/Misc/TelemetryHelperTest.php b/tests/phpunit/src/Misc/TelemetryHelperTest.php index db50beff5..ff9d8b037 100644 --- a/tests/phpunit/src/Misc/TelemetryHelperTest.php +++ b/tests/phpunit/src/Misc/TelemetryHelperTest.php @@ -19,7 +19,7 @@ public function tearDown(): void $envVars = array_merge($envVars, $args[1]); } - self::unsetEnvVars($envVars); + TestBase::unsetEnvVars($envVars); } public function unsetGitHubEnvVars(): void @@ -31,7 +31,7 @@ public function unsetGitHubEnvVars(): void foreach ($providers['github'] as $var) { $github_env_vars[$var] = self::ENV_VAR_DEFAULT_VALUE; } - self::unsetEnvVars($github_env_vars); + TestBase::unsetEnvVars($github_env_vars); } /** @@ -58,7 +58,7 @@ public static function providerTestEnvironmentProvider(): array public function testEnvironmentProvider(string $provider, array $envVars): void { $this->unsetGitHubEnvVars(); - self::setEnvVars($envVars); + TestBase::setEnvVars($envVars); $this->assertEquals($provider, TelemetryHelper::getEnvironmentProvider()); }