Skip to content

Commit 7af0b20

Browse files
committed
Fix PHPStan issue
1 parent 7b49b26 commit 7af0b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/Integration/DataLayer/Event/ViewCartTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function testValidViewCartEvent()
3838
$checkoutSession = ObjectManager::getInstance()->get(Session::class);
3939
$checkoutSession->setQuoteId($cartId);
4040
$checkoutSession->getQuote()->collectTotals();
41-
$checkoutSession->getQuote()->save();
41+
$quoteRepository->save($checkoutSession->getQuote());
4242

4343
$cartRepository = ObjectManager::getInstance()->get(CartRepositoryInterface::class);
4444
$cart = $cartRepository->get($cartId);

0 commit comments

Comments
 (0)