Add NamiFake to testcase

This commit is contained in:
philipp lang 2021-06-13 11:30:31 +02:00
parent fe0ed959e1
commit 15faa13c51
1 changed files with 10 additions and 0 deletions

View File

@ -3,8 +3,18 @@
namespace Tests; namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase; use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Zoomyboy\LaravelNami\Nami;
use Zoomyboy\LaravelNami\FakesNami;
abstract class TestCase extends BaseTestCase abstract class TestCase extends BaseTestCase
{ {
use CreatesApplication; use CreatesApplication;
use FakesNami;
public function setUp(): void {
parent::setUp();
$this->fakeNami();
}
} }