Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved disableInstancePooling in setUp()

  • Loading branch information...
commit b5ae04c14ad322d066b9d8e81f594b428316d562 1 parent 6970913
@willdurand willdurand authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tests/Request/ParamConverter/PropelParamConverterTest.php
View
4 Tests/Request/ParamConverter/PropelParamConverterTest.php
@@ -20,6 +20,8 @@ public function setUp()
if (!interface_exists('Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface')) {
$this->markTestSkipped('SensioFrameworkExtraBundle is not available.');
}
+
+ \Propel::disableInstancePooling();
}
public function tearDown()
@@ -192,7 +194,6 @@ public function testParamConverterFindSlugWithMapping()
public function testParamConvertWithOptionWith()
{
$this->loadFixtures();
- \Propel::disableInstancePooling();
$paramConverter = new PropelParamConverter();
$request = new Request(array(), array(), array('id' => 1, 'book' => null));
@@ -223,7 +224,6 @@ public function testParamConvertWithOptionWith()
public function testParamConvertWithOptionWithLeftJoin()
{
$this->loadFixtures();
- \Propel::disableInstancePooling();
$paramConverter = new PropelParamConverter();
$request = new Request(array(), array(), array('param1' => 10, 'author' => null));

0 comments on commit b5ae04c

Please sign in to comment.
Something went wrong with that request. Please try again.