From ceee13b797735e1f47c3c9ce52f081e76d906d2c Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Thu, 16 May 2024 17:04:02 -0700 Subject: [PATCH] CLI-1336: Fix mutation timeouts --- tests/phpunit/src/TestBase.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/phpunit/src/TestBase.php b/tests/phpunit/src/TestBase.php index 138e9df09..f8c5956f2 100644 --- a/tests/phpunit/src/TestBase.php +++ b/tests/phpunit/src/TestBase.php @@ -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 @@ -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;