Skip to content

Commit 915be6e

Browse files
committed
fix test to comply with older versions of phpunit
1 parent 6f556ff commit 915be6e

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category/Collection

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Test/Unit/Model/ResourceModel/Category/Collection/UrlRewriteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ protected function setUp()
1717
{
1818
$this->_model = $this->getMockBuilder(\Magento\Catalog\Model\ResourceModel\Category\Collection::class)
1919
->disableOriginalConstructor()
20-
->setMethodsExcept(['joinUrlRewrite', 'setStoreId', 'getStoreId'])
20+
->setMethods(['joinTable'])
2121
->getMock();
2222
}
2323

0 commit comments

Comments
 (0)