Skip to content

Commit

Permalink
CLI-1336: Fix mutation timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed May 17, 2024
1 parent c187380 commit ceee13b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/phpunit/src/TestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Filesystem\Path;
use Symfony\Component\Process\Process;
use Symfony\Component\Yaml\Yaml;

/**
* @property \Acquia\Cli\Command\CommandBase $command
Expand Down Expand Up @@ -362,7 +361,7 @@ protected function getCloudApiSpec(): mixed {
if ($isCommandCacheValid && $apiSpecCacheItem->isHit()) {
return $apiSpecCacheItem->get();
}
$apiSpec = Yaml::parseFile($acquiaCloudSpecFile);
$apiSpec = json_decode(file_get_contents($acquiaCloudSpecFile), TRUE);
$this->saveApiSpecCacheItems($cache, $acquiaCloudSpecFileChecksum, $apiSpecCacheItem, $apiSpec);

return $apiSpec;
Expand Down

0 comments on commit ceee13b

Please sign in to comment.