Skip to content

Commit fea2311

Browse files
MAGETWO-90998: Extension developer has to specify all fields in order to extend content type.
- change groups test files to be singular
1 parent be8106f commit fea2311

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config/Group/ReaderTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function setUp()
4141
*/
4242
public function testPartial()
4343
{
44-
$file = file_get_contents(__DIR__ . '/../../../_files/content_type/groups3.xml');
44+
$file = file_get_contents(__DIR__ . '/../../../_files/content_type/group3.xml');
4545
$this->fileResolverMock->expects($this->once())
4646
->method('get')
4747
->willReturn([$file]);
@@ -51,9 +51,9 @@ public function testPartial()
5151
public function testMergeCompleteAndPartial()
5252
{
5353
$fileList = [
54-
file_get_contents(__DIR__ . '/../../../_files/content_type/groups1.xml'),
55-
file_get_contents(__DIR__ . '/../../../_files/content_type/groups2.xml'),
56-
file_get_contents(__DIR__ . '/../../../_files/content_type/groups3.xml'),
54+
file_get_contents(__DIR__ . '/../../../_files/content_type/group1.xml'),
55+
file_get_contents(__DIR__ . '/../../../_files/content_type/group2.xml'),
56+
file_get_contents(__DIR__ . '/../../../_files/content_type/group3.xml'),
5757
];
5858
$this->fileResolverMock->expects($this->once())
5959
->method('get')

dev/tests/integration/testsuite/Magento/PageBuilder/Model/Config/ReaderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ protected function setUp()
5959
public function testMerge()
6060
{
6161
$groupsFileList = [
62-
file_get_contents(__DIR__ . '/../../_files/content_type/groups1.xml'),
63-
file_get_contents(__DIR__ . '/../../_files/content_type/groups2.xml'),
64-
file_get_contents(__DIR__ . '/../../_files/content_type/groups3.xml')
62+
file_get_contents(__DIR__ . '/../../_files/content_type/group1.xml'),
63+
file_get_contents(__DIR__ . '/../../_files/content_type/group2.xml'),
64+
file_get_contents(__DIR__ . '/../../_files/content_type/group3.xml')
6565
];
6666
$contentTypesFiles = [
6767
file_get_contents(__DIR__ . '/../../_files/content_type/type1_content_type1.xml'),

0 commit comments

Comments
 (0)