We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e6408 commit 9f2222fCopy full SHA for 9f2222f
tests/CartItemTest.php
@@ -49,7 +49,7 @@ public function it_can_be_cast_to_json()
49
50
$this->assertJson($cartItem->toJson());
51
52
- $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"}';
53
54
$this->assertEquals($json, $cartItem->toJson());
55
}
0 commit comments