Skip to content

Commit bfa0d42

Browse files
author
Bohdan Korablov
committed
MAGETWO-43285: If you change page layout on grid, then the node of this page will be removed from hierarchy and Custom Theme will be changed to "Magento Blank"
1 parent 3942b6d commit bfa0d42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Cms/Test/Unit/Model/Page/Source/ThemeTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function testToOptionArray(array $options, array $expected)
6262
->method('getLabels')
6363
->willReturn($options);
6464

65-
$this->assertSame($expected, $this->object->toOptionArray());
65+
$this->assertEquals($expected, $this->object->toOptionArray());
6666
}
6767

6868
/**
@@ -73,11 +73,11 @@ public function getOptionsDataProvider()
7373
return [
7474
[
7575
[],
76-
[],
76+
[['label' => 'Default', 'value' => '']],
7777
],
7878
[
7979
[['label' => 'testValue', 'value' => 'testStatus']],
80-
[['label' => 'testValue', 'value' => 'testStatus']],
80+
[['label' => 'Default', 'value' => ''], ['label' => 'testValue', 'value' => 'testStatus']],
8181
],
8282
];
8383
}

0 commit comments

Comments
 (0)