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 c00d840 commit 46bbc33Copy full SHA for 46bbc33
1 file changed
Test/Integration/LokiComponentsTestCase.php
@@ -40,11 +40,19 @@ protected function setUp(): void
40
parent::setUp();
41
42
$this->objectManager = Bootstrap::getObjectManager();
43
- $this->fixtures = DataFixtureStorageManager::getStorage();
+ $this->fixtures = $this->objectManager->get(DataFixtureStorageManager::class)->getStorage();
44
+ }
45
46
+ protected function assertLokiComponentsIsEnabled(): void
47
+ {
48
$this->assertModuleIsEnabled('Loki_Components');
49
}
50
51
+ protected function getObjectManager(): ObjectManagerInterface
52
53
+ return $this->objectManager;
54
55
+
56
protected function getComponentByBlockName(string $blockName
57
): ComponentInterface {
58
$layout = $this->getObjectManager()->get(LayoutInterface::class);
0 commit comments