Skip to content

Commit

Permalink
Update CartItemTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hardevine authored Jan 31, 2019
1 parent f4e6408 commit 9f2222f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CartItemTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 9f2222f

Please sign in to comment.