Skip to content

Commit 9f2222f

Browse files
authored
Update CartItemTest.php
1 parent f4e6408 commit 9f2222f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CartItemTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function it_can_be_cast_to_json()
4949

5050
$this->assertJson($cartItem->toJson());
5151

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}';
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"}';
5353

5454
$this->assertEquals($json, $cartItem->toJson());
5555
}

0 commit comments

Comments
 (0)