Skip to content

Commit 7eb7ce3

Browse files
committed
MAGETWO-37935: Bugfix PR
- fixes for L1
1 parent e426373 commit 7eb7ce3

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

app/code/Magento/Checkout/Test/Unit/Block/OnepageTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ protected function setUp()
5151
false
5252
);
5353
$countryCollectionFactoryMock = $this->getMock(
54-
'\Magento\Directory\Model\Resource\Country\CollectionFactory',
55-
[],
54+
'Magento\Directory\Model\Resource\Country\CollectionFactory',
55+
['create'],
5656
[],
5757
'',
5858
false
5959
);
6060
$regionCollectionFactoryMock = $this->getMock(
61-
'\Magento\Directory\Model\Resource\Region\CollectionFactory',
62-
[],
61+
'Magento\Directory\Model\Resource\Region\CollectionFactory',
62+
['create'],
6363
[],
6464
'',
6565
false

app/code/Magento/Checkout/Test/Unit/Model/SessionTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public function testGetLastRealOrder($orderId, $incrementId, $orderMock)
4646

4747
$messageCollectionFactory = $this->getMockBuilder('Magento\Framework\Message\CollectionFactory')
4848
->disableOriginalConstructor()
49+
->setMethods(['create'])
4950
->getMock();
5051
$quoteRepository = $this->getMockBuilder('Magento\Quote\Model\QuoteRepository')
5152
->disableOriginalConstructor()

app/code/Magento/Cms/Test/Unit/Model/Wysiwyg/Images/StorageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ protected function setUp()
165165

166166
$this->_storageCollectionFactoryMock = $this->getMock(
167167
'Magento\Cms\Model\Wysiwyg\Images\Storage\CollectionFactory',
168-
[],
168+
['create'],
169169
[],
170170
'',
171171
false

app/code/Magento/GroupedImportExport/Test/Unit/Model/Import/Product/Type/GroupedTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function setUp()
7272

7373
$this->attrCollectionFactory = $this->getMock(
7474
'Magento\Catalog\Model\Resource\Product\Attribute\CollectionFactory',
75-
[],
75+
['create'],
7676
[],
7777
'',
7878
false

app/code/Magento/Sales/Test/Unit/Model/Order/PaymentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ function ($value) {
189189
);
190190
$this->transactionCollectionFactory = $this->getMock(
191191
'Magento\Sales\Model\Resource\Order\Payment\Transaction\CollectionFactory',
192-
[],
192+
['create'],
193193
[],
194194
'',
195195
false

0 commit comments

Comments
 (0)