Skip to content

Commit

Permalink
remove extraneous test testMiddlewareDispatcherGetsSeededWithInjected…
Browse files Browse the repository at this point in the history
…Instance()
  • Loading branch information
l0gicgate committed Aug 20, 2019
1 parent 80555a7 commit e830a8c
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions tests/AppTest.php
Expand Up @@ -119,24 +119,7 @@ public function testCreatesRouteCollectorWhenNullWithInjectedContainer()
$this->assertEquals($routeCollector, $app->getRouteCollector());
}

public function testGetMiddlewareDispatcherReturnsInjectedInstance()
{
$responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);
$middlewareDispatcherProphecy = $this->prophesize(MiddlewareDispatcherInterface::class);

$app = new App(
$responseFactoryProphecy->reveal(),
null,
null,
null,
null,
$middlewareDispatcherProphecy->reveal()
);

$this->assertSame($middlewareDispatcherProphecy->reveal(), $app->getMiddlewareDispatcher());
}

public function testMiddlewareDispatcherGetsSeededWithInjectedInstance()
public function testGetMiddlewareDispatcherGetsSeededAndReturnsInjectedInstance()
{
$responseFactoryProphecy = $this->prophesize(ResponseFactoryInterface::class);

Expand Down

0 comments on commit e830a8c

Please sign in to comment.