A free open source IT asset/license management system
Use the Setting model for basetest
snipe5a01fff79c6d
diff --git a/tests/Unit/BaseTest.php b/tests/Unit/BaseTest.phpindex c8bbe2df38..83f1181083 100644--- a/tests/Unit/BaseTest.php+++ b/tests/Unit/BaseTest.php@@ -2,11 +2,13 @@namespace Tests\Unit;use App\Models\User;+use App\Models\Setting;use Illuminate\Foundation\Testing\DatabaseMigrations;use Illuminate\Foundation\Testing\DatabaseTransactions;use Illuminate\Foundation\Testing\WithoutMiddleware;use Tests\TestCase;use Auth;+use Artisan;class BaseTest extends TestCase{@@ -15,7 +17,7 @@ class BaseTest extends TestCaseprotected function _before(){Artisan::call('migrate');- \App\Models\Setting::factory()->create();+ Setting::factory()->create();}protected function signIn($user = null)