File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class TimedPhpEngineTest extends TestCase
2929{
3030 public function testThatRenderLogsTime ()
3131 {
32- $ container = $ this ->getContainer ( );
32+ $ container = $ this ->createMock (Container::class );
3333 $ templateNameParser = $ this ->getTemplateNameParser ();
3434 $ globalVariables = $ this ->getGlobalVariables ();
3535 $ loader = $ this ->getLoader ($ this ->getStorage ());
@@ -48,11 +48,6 @@ public function testThatRenderLogsTime()
4848 $ engine ->render ('index.php ' );
4949 }
5050
51- private function getContainer (): Container
52- {
53- return $ this ->createMock (Container::class);
54- }
55-
5651 private function getTemplateNameParser (): TemplateNameParserInterface
5752 {
5853 $ templateReference = $ this ->createMock (TemplateReferenceInterface::class);
You can’t perform that action at this time.
0 commit comments