Skip to content

Commit

Permalink
fix php 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Oct 23, 2024
1 parent 2aee541 commit 958e262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/phpunit/src/Misc/TelemetryHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function tearDown(): void
$envVars = array_merge($envVars, $args[1]);
}

self::unsetEnvVars($envVars);
TestBase::unsetEnvVars($envVars);
}

public function unsetGitHubEnvVars(): void
Expand All @@ -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);
}

/**
Expand All @@ -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());
}

Expand Down

0 comments on commit 958e262

Please sign in to comment.