Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Commit 213733d

Browse files
committed
fix for false positive unit test mentioned by #29 (comment)
1 parent b4c568c commit 213733d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Traits/DatabaseTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function testUpdateShouldBeEncrypted()
5858

5959
public function testUpdateShouldntBeEncrypted()
6060
{
61-
$model = DatabaseModel::create($this->randomValues());
61+
$model = DatabaseModel::create($this->randomValues())->refresh();
6262

6363
$this->assertTrue($model->exists);
6464

0 commit comments

Comments
 (0)