Skip to content

Commit 5752a47

Browse files
committed
upgrade
1 parent 60976f4 commit 5752a47

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"php": "^8.1",
2323
"lambdish/phunctional": "^2.1",
2424
"brick/money": "^0.8.0",
25-
"vaened/support": "2.2.0",
26-
"vaened/php-price-engine": "0.5.0"
25+
"vaened/support": "2.3.0",
26+
"vaened/php-price-engine": "0.5.1"
2727
},
2828
"require-dev": {
2929
"phpunit/phpunit": "^10.2",

tests/Carts/Management/SwiftCartManagerTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ protected function assertCartContains(Product ...$products): void
4040
map(function (Product $product) {
4141
$item = $this->cart()
4242
->items()
43-
->contains(static fn(CartItem $item) => $item->uniqueId() === $product->uniqueId());
43+
->pick(static fn(CartItem $item) => $item->uniqueId() === $product->uniqueId());
4444

4545
$this->assertCartItemIs($product, $item);
4646
}, $products);

0 commit comments

Comments
 (0)