Skip to content

Commit 229056f

Browse files
committed
test: Fix integration tests
1 parent b7d532d commit 229056f

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

Test/Integration/Config/ConfigTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99

1010
class ConfigTest extends TestCase
1111
{
12-
#[ConfigFixture('loki_components/general/debug', 1)]
12+
#[ConfigFixture('loki_components/general/debug', 1, 'store', 'default')]
1313
public function testIsDebugEnabled()
1414
{
1515
$config = ObjectManager::getInstance()->get(Config::class);
1616
$this->assertTrue($config->isDebug());
1717
}
1818

19-
#[ConfigFixture('loki_components/general/debug', 0)]
19+
#[ConfigFixture('loki_components/general/debug', 0, 'store', 'default')]
2020
public function testIsDebugDisabled()
2121
{
2222
$config = ObjectManager::getInstance()->get(Config::class);

Test/Integration/Dummy/LengthViewModelDummy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,9 @@ public function hasBlock(): bool
108108
{
109109
return true;
110110
}
111+
112+
public function isVisible(): bool
113+
{
114+
return true;
115+
}
111116
}

0 commit comments

Comments
 (0)