Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
- Pass redirect callback to UserController in test
  • Loading branch information
SocalNick committed Sep 6, 2014
1 parent 69a7f16 commit 5d9394b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ScnSocialAuthTest/Controller/UserControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function setUp()
$this->pm = new PluginManager();
$this->event = new MvcEvent();
$this->request = new Request();
$this->controller = new UserController();
$this->controller = new UserController(\Mockery::mock('ScnSocialAuth\Controller\RedirectCallback'));
$this->controller->setEvent($this->event);
$this->controller->setServiceLocator($this->sm);
$this->controller->setPluginManager($this->pm);
Expand Down

0 comments on commit 5d9394b

Please sign in to comment.