File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
dev/tests/api-functional/framework/Magento/TestFramework/TestCase Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ protected function runTest()
254
254
$ initialConfig = $ this ->envConfigReader ->load (ConfigFilePool::APP_ENV );
255
255
256
256
try {
257
- return parent ::runTest ();
257
+ $ testResult = parent ::runTest ();
258
258
} finally {
259
259
$ this ->formatter = $ this ->formatter ?: new PhpFormatter ();
260
260
$ this ->filesystem = $ this ->filesystem ?: Bootstrap::getObjectManager ()->get (Filesystem::class);
@@ -265,6 +265,8 @@ protected function runTest()
265
265
$ directoryWrite = $ this ->filesystem ->getDirectoryWrite (DirectoryList::CONFIG );
266
266
$ directoryWrite ->writeFile ($ this ->envConfigPath , $ resetFileContents );
267
267
}
268
+
269
+ return $ testResult ;
268
270
}
269
271
270
272
/**
You can’t perform that action at this time.
0 commit comments