Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
Config logged_service_manager is always defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 22, 2014
1 parent 825d32a commit f7ca11a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ public function testSetGetClient()
*/
public function testIndexActionWillNotDispatchOnDisabledToolbar()
{
$this->serviceLocator->expects($this->any())->method('get')->with('Config')->will($this->returnValue(array()));
$this->serviceLocator->expects($this->any())->method('get')->with('Config')->will($this->returnValue(array(
'ocra_service_manager' => array(
'logged_service_manager' => true,
),
)));

$this->setExpectedException('BadMethodCallException');
$this->controller->indexAction();
Expand Down

0 comments on commit f7ca11a

Please sign in to comment.