Skip to content
This repository was archived by the owner on Dec 10, 2018. It is now read-only.

Commit e684413

Browse files
committed
Fix json_encode test
1 parent 5c25e62 commit e684413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Feature/HasBinaryUuidTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function it_serialises_the_model_correctly_with_json_encode()
148148
{
149149
$model = TestModel::create();
150150

151-
$json = json_encode($model->toJson());
151+
$json = json_encode($model);
152152

153153
$this->assertContains($model->uuid_text, $json);
154154
$this->assertNotContains($model->uuid, $json);

0 commit comments

Comments
 (0)