koel/tests/TestCase.php
2018-08-19 13:13:08 +02:00

25 lines
508 B
PHP

<?php
namespace Tests;
use Illuminate\Foundation\Testing\DatabaseTransactions;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Mockery;
use Tests\Traits\InteractsWithIoc;
abstract class TestCase extends BaseTestCase
{
use DatabaseTransactions, CreatesApplication, InteractsWithIoc;
public function setUp()
{
parent::setUp();
$this->prepareForTests();
}
protected function tearDown()
{
Mockery::close();
parent::tearDown();
}
}