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

Commit dcb9336

Browse files
committed
PhpRendererTest classname fixes
1 parent 914db10 commit dcb9336

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

test/PhpRendererTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
use Zend\View\Resolver\TemplatePathStack;
2121
use Zend\View\Variables;
2222
use Zend\Filter\FilterChain;
23-
use ZendTest\View\TestAsset\SharedInstance;
24-
use ZendTest\View\TestAsset\Uninvokable;
23+
use ZendTest\View\TestAsset;
2524

2625
/**
2726
* @group Zend_View
@@ -221,11 +220,11 @@ public function testPropertyOverloadingShouldProxyToVariablesContainer()
221220
public function testMethodOverloadingShouldReturnHelperInstanceIfNotInvokable()
222221
{
223222
$helpers = new HelperPluginManager(new ServiceManager(), ['invokables' => [
224-
'uninvokable' => Uninvokable::class,
223+
'uninvokable' => TestAsset\Uninvokable::class,
225224
]]);
226225
$this->renderer->setHelperPluginManager($helpers);
227226
$helper = $this->renderer->uninvokable();
228-
$this->assertInstanceOf(Uninvokable::class, $helper);
227+
$this->assertInstanceOf(TestAsset\Uninvokable::class, $helper);
229228
}
230229

231230
/**
@@ -234,7 +233,7 @@ public function testMethodOverloadingShouldReturnHelperInstanceIfNotInvokable()
234233
public function testMethodOverloadingShouldInvokeHelperIfInvokable()
235234
{
236235
$helpers = new HelperPluginManager(new ServiceManager(), ['invokables' => [
237-
'invokable' => Uninvokable::class,
236+
'invokable' => TestAsset\Invokable::class,
238237
]]);
239238
$this->renderer->setHelperPluginManager($helpers);
240239
$return = $this->renderer->invokable('it works!');
@@ -445,7 +444,7 @@ public function testSharedInstanceHelper()
445444
{
446445
$helpers = new HelperPluginManager(new ServiceManager(), [
447446
'invokables' => [
448-
'sharedinstance' => SharedInstance::class,
447+
'sharedinstance' => TestAsset\SharedInstance::class,
449448
],
450449
'shared' => [
451450
'sharedinstance' => false,

0 commit comments

Comments
 (0)