diff --git a/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/CompatModelChoiceListTest.php b/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/CompatModelChoiceListTest.php index c58db19a5ac0..0442c585ae16 100644 --- a/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/CompatModelChoiceListTest.php +++ b/src/Symfony/Bridge/Propel1/Tests/Form/ChoiceList/CompatModelChoiceListTest.php @@ -61,6 +61,13 @@ protected function setUp() 'filterById', ), array(), '', true, true, true, false, true); + $this->query + ->expects($this->any()) + ->method('filterById') + ->with($this->anything()) + ->will($this->returnSelf()) + ; + $this->createItems(); ItemQuery::$result = array(