1
0
mirror of synced 2025-02-20 06:03:15 +03:00

Add test for boolean parameter type infering

This commit is contained in:
Benjamin Eberlei 2012-11-09 22:03:40 +01:00
parent 182ed07a41
commit fa3f1e088d

View File

@ -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));
}
}
}