Skip to content

Commit 564cfd6

Browse files
author
Oleksandr Karpenko
committed
MAGETWO-50767: Cache is not invalidated if reset theme to parent scope on custom website
1 parent b1e53d7 commit 564cfd6

File tree

1 file changed

+6
-0
lines changed
  • app/code/Magento/Theme/Test/Unit/Model/Design/Backend

1 file changed

+6
-0
lines changed

app/code/Magento/Theme/Test/Unit/Model/Design/Backend/ThemeTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ public function testAfterSave($callNumber, $oldValue)
111111
$this->assertInstanceOf(get_class($this->model), $this->model->afterSave());
112112
}
113113

114+
public function testGetValue()
115+
{
116+
$this->model->setValue(null);
117+
$this->assertEquals('', $this->model->getValue());
118+
}
119+
114120
public function afterSaveDataProvider()
115121
{
116122
return [

0 commit comments

Comments
 (0)