Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjust for setDirty defaulting to true.
  • Loading branch information
dereuromark committed Jun 19, 2018
1 parent 9dd1b9b commit 2540362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/EntityTest.php
Expand Up @@ -812,7 +812,7 @@ public function testSetDirty()
], ['markClean' => true]);

$this->assertFalse($entity->isDirty());
$this->assertSame($entity, $entity->setDirty('title', true));
$this->assertSame($entity, $entity->setDirty('title'));
$this->assertSame($entity, $entity->setDirty('id', false));

$entity->setErrors(['title' => ['badness']]);
Expand Down

0 comments on commit 2540362

Please sign in to comment.