Skip to content

Commit

Permalink
Update ZendLocatorTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Zukowsky authored Sep 29, 2016
1 parent d4ec058 commit f9cfbe7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/TacticianModuleTest/Locator/ZendLocatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,8 @@ public function testGetHandlerForCommandShouldAllowFQCN()
public function testGetHandlerForCommandShouldReturnValidHandler()
{
$handler = new \stdClass();

$this->serviceLocator->expects($this->at(0))
->method('has')
->will($this->returnValue(true));

$this->serviceLocator->expects($this->at(1))
->method('get')
->with($this->equalTo('config'))
->will($this->returnValue([
Expand All @@ -103,6 +99,10 @@ public function testGetHandlerForCommandShouldReturnValidHandler()
],
]));

$this->serviceLocator->expects($this->at(1))
->method('has')
->will($this->returnValue(true));

$this->serviceLocator->expects($this->at(2))
->method('get')
->with($this->equalTo(\stdClass::class))
Expand Down

0 comments on commit f9cfbe7

Please sign in to comment.