Add test for boolean parameter type infering
This commit is contained in:
parent
182ed07a41
commit
fa3f1e088d
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue