File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed
app/code/Magento/Checkout/Test/Unit/Plugin Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,12 @@ class ResetQuoteAddressesTest extends TestCase
42
42
protected function setUp ()
43
43
{
44
44
$ 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
+ ]);
52
51
$ this ->extensionAttributesMock = $ this ->getMockBuilder (CartExtensionInterface::class)
53
52
->setMethods (
54
53
[
@@ -98,10 +97,7 @@ public function testClearingTheAddressesFromEmptyQuote(
98
97
->will ($ this ->returnValue ($ quoteVisibleItems ));
99
98
100
99
if ($ quoteHasAddresses ) {
101
- $ address = $ this ->createPartialMock (Address::class, [
102
- 'getId '
103
- ]
104
- );
100
+ $ address = $ this ->createPartialMock (Address::class, ['getId ' ]);
105
101
106
102
$ address ->expects ($ this ->any ())
107
103
->method ('getId ' )
You can’t perform that action at this time.
0 commit comments