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 7b49b26 commit 7af0b20Copy full SHA for 7af0b20
Test/Integration/DataLayer/Event/ViewCartTest.php
@@ -38,7 +38,7 @@ public function testValidViewCartEvent()
38
$checkoutSession = ObjectManager::getInstance()->get(Session::class);
39
$checkoutSession->setQuoteId($cartId);
40
$checkoutSession->getQuote()->collectTotals();
41
- $checkoutSession->getQuote()->save();
+ $quoteRepository->save($checkoutSession->getQuote());
42
43
$cartRepository = ObjectManager::getInstance()->get(CartRepositoryInterface::class);
44
$cart = $cartRepository->get($cartId);
0 commit comments