Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed Nov 8, 2016
1 parent b314a69 commit d3e8543
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Database/DatabaseEloquentModelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ public function testEagerLoadingWithColumns()
$builder->shouldReceive('select')->once()->with(['bar', 'baz']);
$this->assertNotNull($instance->getEagerLoads()['hadi']);
$this->assertNotNull($instance->getEagerLoads()['foo']);
$instance->getEagerLoads()['foo']($builder);
$closure = $instance->getEagerLoads()['foo'];
$closure($builder);
}

public function testWithMethodCallsQueryBuilderCorrectlyWithArray()
Expand Down

0 comments on commit d3e8543

Please sign in to comment.