Skip to content
This repository was archived by the owner on Jan 21, 2020. It is now read-only.

Commit 9a81c85

Browse files
committed
Drop test for removed default_suffix parameter
1 parent e4b69cd commit 9a81c85

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

test/ZendViewRendererFactoryTest.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -278,34 +278,6 @@ public function testConfiguresCustomDefaultSuffix()
278278
$this->assertEquals('php', $resolver->getDefaultSuffix());
279279
}
280280

281-
public function testConfiguresDeprecatedDefaultSuffix()
282-
{
283-
$config = [
284-
'templates' => [
285-
'default_suffix' => 'php',
286-
],
287-
];
288-
289-
$this->container->has('config')->willReturn(true);
290-
$this->container->get('config')->willReturn($config);
291-
$this->container->has(HelperPluginManager::class)->willReturn(false);
292-
$this->container->has(PhpRenderer::class)->willReturn(false);
293-
294-
$factory = new ZendViewRendererFactory();
295-
$view = $factory($this->container->reveal());
296-
297-
$r = new ReflectionProperty($view, 'resolver');
298-
$r->setAccessible(true);
299-
$resolver = $r->getValue($view);
300-
301-
$this->assertInstanceOf(
302-
NamespacedPathStackResolver::class,
303-
$resolver,
304-
'Expected NamespacedPathStackResolver not found!'
305-
);
306-
$this->assertEquals('php', $resolver->getDefaultSuffix());
307-
}
308-
309281
public function testInjectsCustomHelpersIntoHelperManager()
310282
{
311283
$this->container->has('config')->willReturn(false);

0 commit comments

Comments
 (0)