From dff365318d5cc4af31f37452ef593dca0def1c8f Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Fri, 23 Jan 2015 17:03:47 +0100 Subject: [PATCH] #1277 DDC-3346 DDC-3531 - enforcing `0` offset to avoid persisting more than 1 row --- tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php index c7b89813a6a..ba286da24f2 100644 --- a/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php +++ b/tests/Doctrine/Tests/ORM/Functional/Ticket/DDC3346Test.php @@ -49,7 +49,7 @@ public function testFindWithEagerFetchAndOffsetWillNotHydrateLimitedCollection() array('username' => 'bwoogy'), null, null, - 1 + 0 // using an explicitly defined offset ); $this->assertCount(1, $authors);