Addition of repository to ease testing and maintainability
This commit is contained in:
parent
2f4ec64f2a
commit
5c3dc60d1e
22 changed files with 617 additions and 853 deletions
|
@ -2,15 +2,16 @@
|
|||
|
||||
namespace Tests;
|
||||
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
use Mockery as m;
|
||||
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
|
||||
|
||||
abstract class TestCase extends BaseTestCase
|
||||
{
|
||||
use CreatesApplication, DatabaseTransactions;
|
||||
use CreatesApplication;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
m::close();
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue