Skip to content

Commit 73b7b4e

Browse files
committed
ACPT-1052: Some Luma Storefront Scenarios Are Broken
1 parent d43fe43 commit 73b7b4e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/Annotation/ApiConfigFixture.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ class ApiConfigFixture extends ConfigFixture
2828
*/
2929
private $valuesToDeleteFromDatabase = [];
3030

31+
/**
32+
* @return void
33+
* @throws \Exception
34+
*/
35+
private function putPill(): void
36+
{
37+
Bootstrap::getObjectManager()
38+
->get(\Magento\Framework\MessageQueue\PoisonPill\PoisonPillPutInterface::class)
39+
->put();
40+
}
41+
3142
/**
3243
* @inheritdoc
3344
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
@@ -134,7 +145,9 @@ protected function _restoreConfigData()
134145
}
135146
}
136147
}
148+
$this->putPill();
137149
$this->websiteConfigValues = [];
150+
138151
}
139152

140153
/**

0 commit comments

Comments
 (0)