We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7bad7 commit a64bf41Copy full SHA for a64bf41
app/code/Magento/Persistent/Test/Unit/Observer/CheckExpirePersistentQuoteObserverTest.php
@@ -147,7 +147,10 @@ public function testExecuteWhenPersistentIsEnabled(
147
$this->persistentHelperMock->expects($this->atLeastOnce())
148
->method('isEnabled')
149
->willReturn(true);
150
- $this->sessionMock->expects($this->once())->method('isPersistent')->willReturn(false);
+ $this->persistentHelperMock->expects($this->atLeastOnce())
151
+ ->method('isShoppingCartPersist')
152
+ ->willReturn(true);
153
+ $this->sessionMock->expects($this->atLeastOnce())->method('isPersistent')->willReturn(false);
154
$this->checkoutSessionMock
155
->method('getQuote')
156
->willReturn($this->quoteMock);
0 commit comments