Skip to content

Commit 0c4c041

Browse files
committed
B2B-2221: Magento\CatalogGraphQl\Plugin\DesignLoader plugin loads too much data
- Added unit test changes
1 parent f126350 commit 0c4c041

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/View/Test/Unit/DesignLoaderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ public function testLoad(): void
6262
$this->_areaListMock->expects($this->once())->method('getArea')->with('area')->willReturn($area);
6363
$area
6464
->method('load')
65-
->withConsecutive([Area::PART_DESIGN], [Area::PART_TRANSLATE])
66-
->willReturnOnConsecutiveCalls($area, $area);
65+
->withConsecutive([Area::PART_DESIGN])
66+
->willReturnOnConsecutiveCalls($area);
6767
$this->_model->load($this->_requestMock);
6868
}
6969
}

0 commit comments

Comments
 (0)