Skip to content

Commit

Permalink
Fix mockery use
Browse files Browse the repository at this point in the history
  • Loading branch information
datashaman committed Oct 19, 2017
1 parent 0e78f4b commit 55b70a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
use DB;
use Eloquent;
use Mockery as m;
use Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration;
use Schema;

class TestCase extends \Orchestra\Testbench\TestCase
{
use MockeryPHPUnitIntegration;

protected function getPackageProviders($app)
{
return [
Expand Down Expand Up @@ -76,10 +79,4 @@ protected function createThings()
'status' => 'offline',
]);
}

public function tearDown()
{
m::close();
parent::tearDown();
}
}

0 comments on commit 55b70a3

Please sign in to comment.