Skip to content

Commit a9e6752

Browse files
committed
Correct Static and Unit test
1 parent c1fbef5 commit a9e6752

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/code/Magento/Quote/Test/Unit/Observer/Frontend/Quote/Address/CollectTotalsObserverTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ protected function setUp(): void
150150
->disableOriginalConstructor()
151151
->getMock();
152152

153-
154153
$this->groupManagementMock = $this->getMockForAbstractClass(
155154
GroupManagementInterface::class,
156155
[],
@@ -272,11 +271,6 @@ public function testDispatchWithDefaultCustomerGroupId()
272271
->method('getCustomerGroupId')
273272
->willReturn('customerGroupId');
274273
$this->customerMock->expects($this->once())->method('getId')->willReturn('1');
275-
$this->groupManagementMock->expects($this->once())
276-
->method('getDefaultGroup')
277-
->willReturn($this->groupInterfaceMock);
278-
$this->groupInterfaceMock->expects($this->once())
279-
->method('getId')->willReturn('defaultCustomerGroupId');
280274

281275
/** Assertions */
282276
$this->quoteAddressMock->expects($this->once())

0 commit comments

Comments
 (0)