File tree 2 files changed +1
-13
lines changed
app/code/Magento/Persistent/Observer
dev/tests/integration/testsuite/Magento/Checkout/Model
2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -168,18 +168,6 @@ private function isPersistentQuoteOutdated(): bool
168
168
return false ;
169
169
}
170
170
171
- /**
172
- * Condition checker
173
- *
174
- * @return bool
175
- * @throws \Magento\Framework\Exception\LocalizedException
176
- * @throws \Magento\Framework\Exception\NoSuchEntityException
177
- */
178
- private function isNeedToExpireSession (): bool
179
- {
180
- return $ this ->getQuote ()->getIsPersistent () || $ this ->getQuote ()->getCustomerIsGuest ();
181
- }
182
-
183
171
/**
184
172
* Getter for Quote with micro optimization
185
173
*
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function testLoadCustomerQuoteCustomerWithoutQuote(): void
200
200
'Precondition failed: Customer data must not be set to quote '
201
201
);
202
202
self ::assertEquals (
203
- '0 ' ,
203
+ '1 ' ,
204
204
$ this ->quote ->getCustomerIsGuest (),
205
205
'Precondition failed: Customer must be as guest in quote '
206
206
);
You can’t perform that action at this time.
0 commit comments