diff --git a/Tests/Request/ParamConverter/PropelParamConverterTest.php b/Tests/Request/ParamConverter/PropelParamConverterTest.php index a97c2d7..f3d3a3e 100644 --- a/Tests/Request/ParamConverter/PropelParamConverterTest.php +++ b/Tests/Request/ParamConverter/PropelParamConverterTest.php @@ -134,7 +134,8 @@ class PropelParamConverterTest extends TestCase { $paramConverter = new PropelParamConverter(); $request = new Request(array(), array(), array('book' => null)); - $configuration = new ParamConverter(array('class' => 'Propel\PropelBundle\Tests\Fixtures\Model\Book', 'name' => 'book', 'optional' => 'true')); + $configuration = new ParamConverter(array('class' => 'Propel\PropelBundle\Tests\Fixtures\Model\Book', 'name' => 'book')); + $configuration->setIsOptional(true); $paramConverter->apply($request, $configuration); $this->assertNull($request->attributes->get('book'),