File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1414use Hyperf \Config \Config ;
1515use Hyperf \Contract \ConfigInterface ;
1616use Hyperf \Contract \NormalizerInterface ;
17+ use Hyperf \Di \ClosureDefinitionCollectorInterface ;
1718use Hyperf \Di \Container ;
1819use Hyperf \Di \MethodDefinitionCollector ;
1920use Hyperf \Di \MethodDefinitionCollectorInterface ;
@@ -70,6 +71,7 @@ public function getContainer()
7071 $ container ->shouldReceive ('get ' )->with (DispatcherFactory::class)->andReturn ($ factory = new DispatcherFactory ());
7172 $ container ->shouldReceive ('get ' )->with (NormalizerInterface::class)->andReturn (new SimpleNormalizer ());
7273 $ container ->shouldReceive ('get ' )->with (MethodDefinitionCollectorInterface::class)->andReturn (new MethodDefinitionCollector ());
74+ $ container ->shouldReceive ('has ' )->with (ClosureDefinitionCollectorInterface::class)->andReturn (false );
7375 $ container ->shouldReceive ('get ' )->with (ConfigInterface::class)->andReturn (new Config ([
7476 'exceptions ' => [
7577 'handler ' => [
You can’t perform that action at this time.
0 commit comments