8000 fix merge · symfony/symfony@6595615 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6595615

Browse files
fix merge
1 parent 01c50eb commit 6595615

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/Symfony/Bridge/Twig/Tests/AppVariableTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ public function testGetFlashesWithNoRequest()
168168
$this->assertEquals(array(), $this->appVariable->getFlashes());
169169
}
170170

171+
/**
172+
* @runInSeparateProcess
173+
*/
171174
public function testGetFlashesWithNoSessionStarted()
172175
{
173176
$request = $this->getMockBuilder('Symfony\Component\HttpFoundation\Request')->getMock();
@@ -178,6 +181,9 @@ public function testGetFlashesWithNoSessionStarted()
178181
$this->assertEquals(array(), $this->appVariable->getFlashes());
179182
}
180183

184+
/**
185+
* @runInSeparateProcess
186+
*/
181187
public function testGetFlashes()
182188
{
183189
$flashMessages = $this->setFlashMessages();

src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation;
44

5-
class Article implements NotExistingInterface
6-
{
7-
public $category;
5+
if (!function_exists('__phpunit_run_isolated_test')) {
6+
class Article implements NotExistingInterface
7+
{
8+
public $category;
9+
}
810
}

0 commit comments

Comments
 (0)
0