From 6f8f3f457e44a863e5b2df5c74b96663e990221e Mon Sep 17 00:00:00 2001 From: Patrick Henninger Date: Sat, 5 Feb 2022 22:33:52 +0100 Subject: [PATCH] Fix --- tests/CartTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/CartTest.php b/tests/CartTest.php index 79abc89..ca02309 100644 --- a/tests/CartTest.php +++ b/tests/CartTest.php @@ -1170,9 +1170,8 @@ class CartTest extends TestCase 'weight' => 250, ]), 2); $cartItem = $cart->get('027c91341fd5cf4d2579b49c4b6a90da'); - $cart->setDiscount('027c91341fd5cf4d2579b49c4b6a90da', 50); - $this->assertEquals(500, $cart->weight); - $this->assertEquals(500.00, $cartItem->weightTotal); + $this->assertEquals(500, $cart->weight()); + $this->assertEquals(500, $cartItem->weightTotal); } /** @test */