Skip to content

Commit

Permalink
Fixes testcase.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 5, 2014
1 parent e7c2874 commit c172c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/MessagesServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testRegisterMethod()
$app = m::mock('\Illuminate\Container\Container');
$session = m::mock('\Illuminate\Session\Store');

$app->shouldReceive('bindShared')->once()->with('orchestra.messages', m::type('Closure'))
$app->shouldReceive('singleton')->once()->with('orchestra.messages', m::type('Closure'))
->andReturnUsing(function ($n, $c) use ($app) {
$c($app);
})
Expand Down

0 comments on commit c172c8e

Please sign in to comment.