File tree 2 files changed +11
-3
lines changed
Bundle/FrameworkBundle/Tests/Fixtures/Validation 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ public function testGetFlashesWithNoRequest()
168
168
$ this ->assertEquals (array (), $ this ->appVariable ->getFlashes ());
169
169
}
170
170
171
+ /**
172
+ * @runInSeparateProcess
173
+ */
171
174
public function testGetFlashesWithNoSessionStarted ()
172
175
{
173
176
$ request = $ this ->getMockBuilder ('Symfony\Component\HttpFoundation\Request ' )->getMock ();
@@ -178,6 +181,9 @@ public function testGetFlashesWithNoSessionStarted()
178
181
$ this ->assertEquals (array (), $ this ->appVariable ->getFlashes ());
179
182
}
180
183
184
+ /**
185
+ * @runInSeparateProcess
186
+ */
181
187
public function testGetFlashes ()
182
188
{
183
189
$ flashMessages = $ this ->setFlashMessages ();
Original file line number Diff line number Diff line change 2
2
3
3
namespace Symfony \Bundle \FrameworkBundle \Tests \Fixtures \Validation ;
4
4
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
+ }
8
10
}
You can’t perform that action at this time.
0 commit comments