diff --git a/tests/VirtualColumnTest.php b/tests/VirtualColumnTest.php index 8e4e5bc..21418f7 100644 --- a/tests/VirtualColumnTest.php +++ b/tests/VirtualColumnTest.php @@ -127,7 +127,7 @@ class VirtualColumnTest extends TestCase foreach($encryptedAttributes as $key => $expectedValue) { $savedValue = $model->getAttributes()[$key]; // Encrypted - $this->assertTrue(MyModel::valueEncrypted($savedValue)); + $this->assertTrue($model->valueEncrypted($savedValue)); $this->assertNotEquals($expectedValue, $savedValue); $retrievedValue = $model->$key; // Decrypted