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
29
29
{
30
30
public function testThatRenderLogsTime ()
31
31
{
32
- $ container = $ this ->getContainer ( );
32
+ $ container = $ this ->createMock (Container::class );
33
33
$ templateNameParser = $ this ->getTemplateNameParser ();
34
34
$ globalVariables = $ this ->getGlobalVariables ();
35
35
$ loader = $ this ->getLoader ($ this ->getStorage ());
@@ -48,11 +48,6 @@ public function testThatRenderLogsTime()
48
48
$ engine ->render ('index.php ' );
49
49
}
50
50
51
- private function getContainer (): Container
52
- {
53
- return $ this ->createMock (Container::class);
54
- }
55
-
56
51
private function getTemplateNameParser (): TemplateNameParserInterface
57
52
{
58
53
$ templateReference = $ this ->createMock (TemplateReferenceInterface::class);
You can’t perform that action at this time.
0 commit comments