Skip to content

Commit 4dbeaf3

Browse files
author
Mark Berube
committed
MC-34175: adding sorting validation
- Fixing unit tests
1 parent c0c0f4d commit 4dbeaf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Ui/Test/Unit/Component/Listing/Columns/AttributeSetIdTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testPrepare()
3838
->with('attribute_set_name asc');
3939

4040
$this->dataProviderMock = $this->getMockBuilder(DataProviderInterface::class)
41-
->addMethods(['getCollection', 'getSelect'])
41+
->setMethods(['getCollection', 'getSelect'])
4242
->disableOriginalConstructor()
4343
->getMockForAbstractClass();
4444

app/code/Magento/Ui/Test/Unit/Component/Listing/Columns/WebsitesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testPrepare()
6060
->willReturn($selectMock);
6161

6262
$this->dataProviderMock = $this->getMockBuilder(DataProviderInterface::class)
63-
->addMethods(['getCollection', 'getSelect'])
63+
->setMethods(['getCollection', 'getSelect'])
6464
->disableOriginalConstructor()
6565
->getMockForAbstractClass();
6666

0 commit comments

Comments
 (0)