Skip to content

Commit 33ea7af

Browse files
committed
AC-6720::Cloud Native S3 Web API test Failures -2.4-develop - Remove shared instance during application Initialization
1 parent e380b91 commit 33ea7af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQlAbstract.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ protected function runTest()
254254
$initialConfig = $this->envConfigReader->load(ConfigFilePool::APP_ENV);
255255

256256
try {
257-
return parent::runTest();
257+
$testResult = parent::runTest();
258258
} finally {
259259
$this->formatter = $this->formatter ?: new PhpFormatter();
260260
$this->filesystem = $this->filesystem ?: Bootstrap::getObjectManager()->get(Filesystem::class);
@@ -265,6 +265,8 @@ protected function runTest()
265265
$directoryWrite = $this->filesystem->getDirectoryWrite(DirectoryList::CONFIG);
266266
$directoryWrite->writeFile($this->envConfigPath, $resetFileContents);
267267
}
268+
269+
return $testResult;
268270
}
269271

270272
/**

0 commit comments

Comments
 (0)