File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Command/CacheClearCommand Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public function testCacheIsFreshAfterCacheClearedWithWarmup()
55
55
$ finder = new Finder ();
56
56
$ metaFiles = $ finder ->files ()->in ($ this ->kernel ->getCacheDir ())->name ('*.php.meta ' );
57
57
// simply check that cache is warmed up
58
- $ this ->assertGreaterThanOrEqual ( 1 , count ( $ metaFiles) );
58
+ $ this ->assertNotEmpty ( $ metaFiles );
59
59
$ configCacheFactory = new ConfigCacheFactory (true );
60
60
61
61
foreach ($ metaFiles as $ file ) {
Original file line number Diff line number Diff line change @@ -373,6 +373,9 @@ public function testRedirectToRoute()
373
373
$ this ->assertSame (302 , $ response ->getStatusCode ());
374
374
}
375
375
376
+ /**
377
+ * @runInSeparateProcess
378
+ */
376
379
public function testAddFlash ()
377
380
{
378
381
$ flashBag = new FlashBag ();
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
}
Original file line number Diff line number Diff line change 23
23
"symfony/dependency-injection" : " ~3.4|~4.0" ,
24
24
"symfony/config" : " ~3.4|~4.0" ,
25
25
"symfony/event-dispatcher" : " ^3.3.1|~4.0" ,
26
- "symfony/http-foundation" : " ~ 3.3|~4.0" ,
26
+ "symfony/http-foundation" : " ^ 3.3.11 |~4.0" ,
27
27
"symfony/http-kernel" : " ~3.4|~4.0" ,
28
28
"symfony/polyfill-mbstring" : " ~1.0" ,
29
29
"symfony/filesystem" : " ~2.8|~3.0|~4.0" ,
You can’t perform that action at this time.
0 commit comments