Skip to content

Commit 60105a9

Browse files
committed
update unit-test
1 parent 7336321 commit 60105a9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Units/Domain/CartTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ public function testModelNotFoundException(): void
201201
}
202202

203203
self::assertCount($total, $cart->getItems());
204+
self::assertCount(count($products) - 1, $cart->getBasketDto()->items());
205+
self::assertCount($total, $cart->getBasketDto()->cursor());
206+
self::assertSame($total, $cart->getBasketDto()->total());
204207

205208
$transfers = $buyer->payCart($cart);
206209
self::assertCount($total, $transfers);

0 commit comments

Comments
 (0)