We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b45de commit ab8ef42Copy full SHA for ab8ef42
dev/tests/integration/framework/Magento/TestFramework/Annotation/AppIsolation.php
@@ -50,6 +50,13 @@ public function __construct(Application $application)
50
protected function _isolateApp()
51
{
52
if ($this->hasNonIsolatedTests) {
53
+ // Clear fixture resolver state before app reinitialization
54
+ try {
55
+ $resolver = \Magento\TestFramework\Workaround\Override\Fixture\Resolver::getInstance();
56
+ $resolver->setCurrentTest(null);
57
+ } catch (\RuntimeException $e) {
58
+ // Resolver not initialized yet, ignore
59
+ }
60
$this->application->reinitialize();
61
$_SESSION = [];
62
$_COOKIE = [];
0 commit comments