Skip to content

Commit 1db525a

Browse files
committed
Fixing static tests
1 parent 98c9154 commit 1db525a

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

app/code/Magento/Checkout/Test/Unit/Plugin/ResetQuoteAddressesTest.php

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,12 @@ class ResetQuoteAddressesTest extends TestCase
4242
protected function setUp()
4343
{
4444
$this->quoteMock = $this->createPartialMock(Quote::class, [
45-
'getAllAddresses',
46-
'getAllVisibleItems',
47-
'removeAddress',
48-
'getExtensionAttributes',
49-
'isVirtual',
50-
]
51-
);
45+
'getAllAddresses',
46+
'getAllVisibleItems',
47+
'removeAddress',
48+
'getExtensionAttributes',
49+
'isVirtual',
50+
]);
5251
$this->extensionAttributesMock = $this->getMockBuilder(CartExtensionInterface::class)
5352
->setMethods(
5453
[
@@ -98,10 +97,7 @@ public function testClearingTheAddressesFromEmptyQuote(
9897
->will($this->returnValue($quoteVisibleItems));
9998

10099
if ($quoteHasAddresses) {
101-
$address = $this->createPartialMock(Address::class, [
102-
'getId'
103-
]
104-
);
100+
$address = $this->createPartialMock(Address::class, ['getId']);
105101

106102
$address->expects($this->any())
107103
->method('getId')

0 commit comments

Comments
 (0)