diff --git a/tests/CartItemTest.php b/tests/CartItemTest.php index 705bc94f..2a017149 100644 --- a/tests/CartItemTest.php +++ b/tests/CartItemTest.php @@ -49,7 +49,7 @@ public function it_can_be_cast_to_json() $this->assertJson($cartItem->toJson()); - $json = '{"rowId":"07d5da5550494c62daf9993cf954303f","id":1,"name":"Some item","qty":2,"price":10,"options":{"size":"XL","color":"red"},"tax":0.00,"isSaved":false,"subtotal":20.00}'; + $json = '{"rowId":"07d5da5550494c62daf9993cf954303f","id":1,"name":"Some item","qty":2,"price":10,"options":{"size":"XL","color":"red"},"tax":"0.00","isSaved":false,"subtotal":"20.00"}'; $this->assertEquals($json, $cartItem->toJson()); }