@@ -75,7 +75,7 @@ public function testInitializeContainerClearsOldContainers()
75
75
$ kernel ->boot ();
76
76
77
77
$ containerDir = __DIR__ .'/Fixtures/var/cache/custom/ ' .substr (\get_class ($ kernel ->getContainer ()), 0 , 16 );
78
- $ this ->assertTrue (unlink (__DIR__ .'/Fixtures/var/cache/custom/FixturesSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' ));
78
+ $ this ->assertTrue (unlink (__DIR__ .'/Fixtures/var/cache/custom/TestsSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' ));
79
79
$ this ->assertFileExists ($ containerDir );
80
80
$ this ->assertFileNotExists ($ containerDir .'.legacy ' );
81
81
@@ -312,7 +312,7 @@ public function testGetName()
312
312
{
313
313
$ kernel = new KernelForTest ('test ' , true );
314
314
315
- $ this ->assertEquals ('HttpKernel ' , $ kernel ->getName ());
315
+ $ this ->assertEquals ('Fixtures ' , $ kernel ->getName ());
316
316
}
317
317
318
318
/**
@@ -533,14 +533,14 @@ public function testKernelReset()
533
533
534
534
$ containerClass = \get_class ($ kernel ->getContainer ());
535
535
$ containerFile = (new \ReflectionClass ($ kernel ->getContainer ()))->getFileName ();
536
- unlink (__DIR__ .'/Fixtures/var/cache/custom/FixturesSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' );
536
+ unlink (__DIR__ .'/Fixtures/var/cache/custom/TestsSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' );
537
537
538
538
$ kernel = new CustomProjectDirKernel ();
539
539
$ kernel ->boot ();
540
540
541
541
$ this ->assertInstanceOf ($ containerClass , $ kernel ->getContainer ());
542
542
$ this ->assertFileExists ($ containerFile );
543
- unlink (__DIR__ .'/Fixtures/var/cache/custom/FixturesSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' );
543
+ unlink (__DIR__ .'/Fixtures/var/cache/custom/TestsSymfony_Component_HttpKernel_Tests_CustomProjectDirKernelCustomDebugContainer .php.meta ' );
544
544
545
545
$ kernel = new CustomProjectDirKernel (function ($ container ) { $ container ->register ('foo ' , 'stdClass ' )->setPublic (true ); });
546
546
$ kernel ->boot ();
0 commit comments