mirror of
https://github.com/archtechx/virtualcolumn.git
synced 2025-12-12 11:14:04 +00:00
Change method to non-static in test
This commit is contained in:
parent
43f505aa37
commit
8b6db9ac2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue