Skip to content

Commit

Permalink
Fix PHPStan issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Jan 6, 2025
1 parent 7b49b26 commit 7af0b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Test/Integration/DataLayer/Event/ViewCartTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testValidViewCartEvent()
$checkoutSession = ObjectManager::getInstance()->get(Session::class);
$checkoutSession->setQuoteId($cartId);
$checkoutSession->getQuote()->collectTotals();
$checkoutSession->getQuote()->save();
$quoteRepository->save($checkoutSession->getQuote());

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

0 comments on commit 7af0b20

Please sign in to comment.