From d8d08ec766c10381a8c1896530c0edc16b7edcfa Mon Sep 17 00:00:00 2001 From: Matthew Grasmick Date: Thu, 23 May 2024 15:00:50 -0400 Subject: [PATCH] Change to TestBase. --- src/Helpers/TelemetryHelper.php | 2 ++ tests/phpunit/src/Misc/TelemetryHelperTest.php | 7 +------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Helpers/TelemetryHelper.php b/src/Helpers/TelemetryHelper.php index f35131108..afdb9cddc 100644 --- a/src/Helpers/TelemetryHelper.php +++ b/src/Helpers/TelemetryHelper.php @@ -230,6 +230,8 @@ public static function getProviders(): array { 'platformsh' => ['PLATFORM_ENVIRONMENT'], 'teamcity' => ['TEAMCITY_VERSION'], 'travis' => ['TRAVIS'], + // docksal? + // docker? ]; } diff --git a/tests/phpunit/src/Misc/TelemetryHelperTest.php b/tests/phpunit/src/Misc/TelemetryHelperTest.php index 24707c98d..d3912d5ab 100644 --- a/tests/phpunit/src/Misc/TelemetryHelperTest.php +++ b/tests/phpunit/src/Misc/TelemetryHelperTest.php @@ -7,10 +7,9 @@ use Acquia\Cli\Command\CommandBase; use Acquia\Cli\Command\Self\ClearCacheCommand; use Acquia\Cli\Helpers\TelemetryHelper; -use Acquia\Cli\Tests\CommandTestBase; use Acquia\Cli\Tests\TestBase; -class TelemetryHelperTest extends CommandTestBase { +class TelemetryHelperTest extends TestBase { const ENV_VAR_DEFAULT_VALUE = 'test'; @@ -35,10 +34,6 @@ public function unsetGitHubEnvVars(): void { TestBase::unsetEnvVars($github_env_vars); } - protected function createCommand(): CommandBase { - return $this->injectCommand(ClearCacheCommand::class); - } - /** * @return array */