File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
"php" : " ^8.1" ,
23
23
"lambdish/phunctional" : " ^2.1" ,
24
24
"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 "
27
27
},
28
28
"require-dev" : {
29
29
"phpunit/phpunit" : " ^10.2" ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected function assertCartContains(Product ...$products): void
40
40
map (function (Product $ product ) {
41
41
$ item = $ this ->cart ()
42
42
->items ()
43
- ->contains (static fn (CartItem $ item ) => $ item ->uniqueId () === $ product ->uniqueId ());
43
+ ->pick (static fn (CartItem $ item ) => $ item ->uniqueId () === $ product ->uniqueId ());
44
44
45
45
$ this ->assertCartItemIs ($ product , $ item );
46
46
}, $ products );
You can’t perform that action at this time.
0 commit comments