This repository was archived by the owner on Jan 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -278,34 +278,6 @@ public function testConfiguresCustomDefaultSuffix()
278
278
$ this ->assertEquals ('php ' , $ resolver ->getDefaultSuffix ());
279
279
}
280
280
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
-
309
281
public function testInjectsCustomHelpersIntoHelperManager ()
310
282
{
311
283
$ this ->container ->has ('config ' )->willReturn (false );
You can’t perform that action at this time.
0 commit comments