File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -74,23 +74,6 @@ public function testGetNameValidTemplate()
74
74
$ this ->assertEquals ('FooBundle:Collector:foo.html.twig ' , $ this ->templateManager ->getName (new ProfileDummy (), 'foo ' ));
75
75
}
76
76
77
- /**
78
- * template should be loaded for 'foo' because other collectors are
79
- * missing in profile or in profiler.
80
- */
81
- public function testGetTemplates ()
82
- {
83
- $ this ->profiler ->expects ($ this ->any ())
84
- ->method ('has ' )
85
- ->withAnyParameters ()
86
- ->will ($ this ->returnCallback ([$ this , 'profileHasCollectorCallback ' ]));
87
-
88
- $ result = $ this ->templateManager ->getTemplates (new ProfileDummy ());
89
- $ this ->assertArrayHasKey ('foo ' , $ result );
90
- $ this ->assertArrayNotHasKey ('bar ' , $ result );
91
- $ this ->assertArrayNotHasKey ('baz ' , $ result );
92
- }
93
-
94
77
public function profilerHasCallback ($ panel )
95
78
{
96
79
switch ($ panel ) {
You can’t perform that action at this time.
0 commit comments