From 9f2222f54f034dc2c9b00111d1554c4c4af38050 Mon Sep 17 00:00:00 2001 From: Harinder Date: Thu, 31 Jan 2019 10:15:03 +0530 Subject: [PATCH] Update CartItemTest.php --- tests/CartItemTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }