File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
app/code/Magento/Persistent/Observer
dev/tests/integration/testsuite/Magento/Checkout/Model Expand file tree Collapse file tree 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
168168 return false ;
169169 }
170170
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-
183171 /**
184172 * Getter for Quote with micro optimization
185173 *
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function testLoadCustomerQuoteCustomerWithoutQuote(): void
200200 'Precondition failed: Customer data must not be set to quote '
201201 );
202202 self ::assertEquals (
203- '0 ' ,
203+ '1 ' ,
204204 $ this ->quote ->getCustomerIsGuest (),
205205 'Precondition failed: Customer must be as guest in quote '
206206 );
You can’t perform that action at this time.
0 commit comments