From fa3f1e088d2b7f4f084d1205c1b96c09dff3273b Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Fri, 9 Nov 2012 22:03:40 +0100 Subject: [PATCH] Add test for boolean parameter type infering --- tests/Doctrine/Tests/ORM/Query/ParameterTypeInfererTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/Query/ParameterTypeInfererTest.php b/tests/Doctrine/Tests/ORM/Query/ParameterTypeInfererTest.php index 60b118570..95bd59c13 100644 --- a/tests/Doctrine/Tests/ORM/Query/ParameterTypeInfererTest.php +++ b/tests/Doctrine/Tests/ORM/Query/ParameterTypeInfererTest.php @@ -39,6 +39,7 @@ class ParameterTypeInfererTest extends \Doctrine\Tests\OrmTestCase array(array("foo"), Connection::PARAM_STR_ARRAY), array(array("1","2"), Connection::PARAM_STR_ARRAY), array(array(), Connection::PARAM_STR_ARRAY), + array(true, Type::BOOLEAN), ); } @@ -50,4 +51,4 @@ class ParameterTypeInfererTest extends \Doctrine\Tests\OrmTestCase { $this->assertEquals($expected, ParameterTypeInferer::inferType($value)); } -} \ No newline at end of file +}