diff --git a/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php b/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php index accbf1c682..9071a3e4f7 100644 --- a/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php +++ b/src/Symfony/Bridge/Twig/Tests/AppVariableTest.php @@ -168,6 +168,9 @@ class AppVariableTest extends TestCase $this->assertEquals(array(), $this->appVariable->getFlashes()); } + /** + * @runInSeparateProcess + */ public function testGetFlashesWithNoSessionStarted() { $request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock(); @@ -178,6 +181,9 @@ class AppVariableTest extends TestCase $this->assertEquals(array(), $this->appVariable->getFlashes()); } + /** + * @runInSeparateProcess + */ public function testGetFlashes() { $flashMessages = $this->setFlashMessages(); diff --git a/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php b/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php index a1ecee6d0b..5f28d0648f 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php +++ b/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php @@ -2,7 +2,9 @@ namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation; -class Article implements NotExistingInterface -{ - public $category; +if (!function_exists('__phpunit_run_isolated_test')) { + class Article implements NotExistingInterface + { + public $category; + } }