File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -275,15 +275,15 @@ public function testPayCustomPrice(): void
275275
276276 self ::assertSame (0 , $ buyer ->balanceInt );
277277
278- $ buyer ->deposit (6_000 + (int ) $ buyer ->wallet -> getKey ());
279- self ::assertSame (6_000 + (int ) $ buyer ->wallet -> getKey (), $ buyer ->balanceInt );
278+ $ buyer ->deposit (6_000 + (int ) $ buyer ->getKey ());
279+ self ::assertSame (6_000 + (int ) $ buyer ->getKey (), $ buyer ->balanceInt );
280280
281281 $ cart = app (Cart::class)
282282 ->withItem ($ product , pricePerItem: 1_000 )
283283 ->withItem ($ product )
284284 ;
285285
286- self ::assertSame (6000 + (int ) $ buyer-> wallet ->getKey (), (int ) $ cart ->getTotal ($ buyer ));
286+ self ::assertSame (6_000 + (int ) $ buyer ->getKey (), (int ) $ cart ->getTotal ($ buyer ));
287287
288288 $ transfers = $ buyer ->payCart ($ cart );
289289 self ::assertSame (0 , $ buyer ->balanceInt );
You can’t perform that action at this time.
0 commit comments