Skip to content

Commit

Permalink
Fixed assertion based on 6b3bcbc changes.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <crynobone@gmail.com>
  • Loading branch information
crynobone committed Jun 26, 2013
1 parent 6b3bcbc commit bb0e15c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/services/Event/AdminMenuHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ public function testHandleMethod()
{
\Orchestra\Support\Facades\App::swap($app = m::mock('Orchestra'));
\Orchestra\Support\Facades\Resources::swap($resources = m::mock('Resources'));
\Illuminate\Support\Facades\Auth::swap($auth = m::mock('Auth\Guard'));

$app->shouldReceive('acl')->once()->andReturn($acl = m::mock('Acl'))
->shouldReceive('menu')->once()->andReturn($menu = m::mock('Menu'))
Expand All @@ -47,8 +46,6 @@ public function testHandleMethod()
->shouldReceive('title')->once()->with('setting')->andReturn($menu)
->shouldReceive('link')->once()->with('setting')->andReturn(null);

$auth->shouldReceive('guest')->once()->andReturn(false);

$foo = new \Illuminate\Support\Fluent(array(
'name' => 'Foo',
'visible' => true,
Expand Down

0 comments on commit bb0e15c

Please sign in to comment.