From 426937bc759686775bd5dafbbb40faa5ad5b491c Mon Sep 17 00:00:00 2001 From: Mark Story Date: Thu, 19 Feb 2015 13:23:56 -0500 Subject: [PATCH] Add assertion for number of results. --- tests/TestCase/ORM/MarshallerTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/TestCase/ORM/MarshallerTest.php b/tests/TestCase/ORM/MarshallerTest.php index cff4caab8c8..575b20b3042 100644 --- a/tests/TestCase/ORM/MarshallerTest.php +++ b/tests/TestCase/ORM/MarshallerTest.php @@ -1270,6 +1270,7 @@ public function testMergeManyExistQueryFails() $marshall = new Marshaller($comments); $result = $marshall->mergeMany($entities, $data); + $this->assertCount(3, $result); $this->assertEquals('Changed 1', $result[0]->comment); $this->assertEquals(1, $result[0]->user_id); $this->assertEquals('Changed 2', $result[1]->comment);