Skip to content

Commit 9ff9a0e

Browse files
committed
correct test
1 parent 76f349f commit 9ff9a0e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Plugin/InvokeTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
use Mvc5\App;
99
use Mvc5\Plugin\Invoke;
10+
use Mvc5\Plugin\Plugin;
1011
use Mvc5\Plugin\Value;
1112
use Mvc5\Test\Test\TestCase;
1213

@@ -95,7 +96,7 @@ function test_resolve_with_scope()
9596

9697
$app = new App([
9798
'services' => [
98-
'foo' => new Invoke('foo')
99+
'foo' => new Invoke(new Plugin('foo'))
99100
]
100101
], null, true);
101102

@@ -124,7 +125,7 @@ function test_resolve_without_scope()
124125

125126
$app = new App([
126127
'services' => [
127-
'foo' => new Invoke('foo')
128+
'foo' => new Invoke(new Plugin('foo'))
128129
]
129130
]);
130131

0 commit comments

Comments
 (0)