This repository was archived by the owner on Jan 29, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111
1212use PHPUnit \Framework \TestCase ;
1313use Psr \Http \Message \ResponseInterface ;
14+ use Psr \Http \Message \ServerRequestInterface ;
1415use Psr \Http \Message \StreamInterface ;
1516use Zend \Expressive \Application ;
1617use Zend \Expressive \ApplicationPipeline ;
3334use const Zend \Expressive \NOT_FOUND_MIDDLEWARE ;
3435use const Zend \Expressive \ROUTE_MIDDLEWARE ;
3536use const Zend \Expressive \SERVER_REQUEST_ERROR_RESPONSE_GENERATOR ;
36- use const Zend \Expressive \SERVER_REQUEST_FACTORY ;
3737
3838class ConfigProviderTest extends TestCase
3939{
@@ -72,8 +72,8 @@ public function testProviderDefinesExpectedFactoryServices()
7272 $ this ->assertArrayHasKey (NotFoundHandler::class, $ factories );
7373 $ this ->assertArrayHasKey (RequestHandlerRunner::class, $ factories );
7474 $ this ->assertArrayHasKey (ResponseInterface::class, $ factories );
75+ $ this ->assertArrayHasKey (ServerRequestInterface::class, $ factories );
7576 $ this ->assertArrayHasKey (SERVER_REQUEST_ERROR_RESPONSE_GENERATOR , $ factories );
76- $ this ->assertArrayHasKey (SERVER_REQUEST_FACTORY , $ factories );
7777 $ this ->assertArrayHasKey (StreamInterface::class, $ factories );
7878 }
7979
You can’t perform that action at this time.
0 commit comments