From 759836113fc36816a81261f2cc9423adb6fe334c Mon Sep 17 00:00:00 2001 From: Vladislav Veselinov Date: Fri, 8 Aug 2014 16:44:08 +0300 Subject: [PATCH] assertion fix --- tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php b/tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php index 2479cd283..946fc45fb 100644 --- a/tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php +++ b/tests/Doctrine/Tests/ORM/Functional/SQLFilterTest.php @@ -258,7 +258,7 @@ class SQLFilterTest extends \Doctrine\Tests\OrmFunctionalTestCase $reflMethod = new \ReflectionMethod('Doctrine\ORM\Query\Filter\SQLFilter', 'getConnection'); $reflMethod->setAccessible(true); - $this->assertTrue($reflMethod->invoke($filter) === $conn); + $this->assertSame($conn, $reflMethod->invoke($filter)); } public function testSQLFilterSetParameterInfersType()