8000 Merge branch '4.1' into 4.2 · symfony/symfony@82617b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82617b9

Browse files
Merge branch '4.1' into 4.2
* 4.1: fix merge
2 parents 62c595a + 151ee3e commit 82617b9

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Symfony/Bundle/WebProfilerBundle/Tests/Profiler/TemplateManagerTest.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -74,23 +74,6 @@ public function testGetNameValidTemplate()
7474
$this->assertEquals('FooBundle:Collector:foo.html.twig', $this->templateManager->getName(new ProfileDummy(), 'foo'));
7575
}
7676

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-
9477
public function profilerHasCallback($panel)
9578
{
9679
switch ($panel) {

0 commit comments

Comments
 (0)
0