From 15faa13c51e478fb8fce231ec5056f7be2d3d059 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sun, 13 Jun 2021 11:30:31 +0200 Subject: [PATCH] Add NamiFake to testcase --- tests/TestCase.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/TestCase.php b/tests/TestCase.php index 2932d4a6..f7ce0bd1 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -3,8 +3,18 @@ namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; +use Zoomyboy\LaravelNami\Nami; +use Zoomyboy\LaravelNami\FakesNami; abstract class TestCase extends BaseTestCase { use CreatesApplication; + use FakesNami; + + public function setUp(): void { + parent::setUp(); + + $this->fakeNami(); + } + }