Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov committed Jan 24, 2025
1 parent 1ae5045 commit 1efd56b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/ActiveRecordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ public function testIsPropertyChangedNotChanged(): void
$customer = new Customer();

$this->assertEmpty($customer->get('email'));
$this->assertEmpty($customer->oldoldValue('email'));
$this->assertFalse($customer->isPropertyChanged('email', false));
$this->assertEmpty($customer->oldValue('email'));
$this->assertFalse($customer->isPropertyChanged('email'));
}

public function testTableSchemaException(): void
Expand Down
2 changes: 1 addition & 1 deletion tests/MagicActiveRecordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public function testIsPropertyChangedNotChanged(): void

$this->assertEmpty($customer->get('name'));
$this->assertEmpty($customer->oldValue('name'));
$this->assertFalse($customer->isPropertyChanged('name', false));
$this->assertFalse($customer->isPropertyChanged('name'));
}

public function testTableSchemaException(): void
Expand Down

0 comments on commit 1efd56b

Please sign in to comment.