From 254036200a87c35bae91153c7f068b530e8f6099 Mon Sep 17 00:00:00 2001 From: mscherer Date: Tue, 19 Jun 2018 10:27:11 +0200 Subject: [PATCH] Adjust for setDirty defaulting to true. --- tests/TestCase/ORM/EntityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/ORM/EntityTest.php b/tests/TestCase/ORM/EntityTest.php index 0989536e117..5e126a71edd 100644 --- a/tests/TestCase/ORM/EntityTest.php +++ b/tests/TestCase/ORM/EntityTest.php @@ -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']]);