A free open source IT asset/license management system
Remove reference to old trait
Marcus Moore6e16f589bd32
diff --git a/tests/Feature/ReportTemplates/CreateReportTemplateTest.php b/tests/Feature/ReportTemplates/CreateReportTemplateTest.phpindex 8b5c5e5208..073b4ab900 100644--- a/tests/Feature/ReportTemplates/CreateReportTemplateTest.php+++ b/tests/Feature/ReportTemplates/CreateReportTemplateTest.php@@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;use App\Models\ReportTemplate;use App\Models\User;-use Tests\Support\InteractsWithSettings;use Tests\TestCase;class CreateReportTemplateTest extends TestCase{- use InteractsWithSettings;-public function testSavingReportTemplateRequiresCorrectPermission(){$this->actingAs(User::factory()->create())diff --git a/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php b/tests/Feature/ReportTemplates/DeleteReportTemplateTest.phpindex c015e74450..8940e9fa60 100644--- a/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php+++ b/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php@@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;use App\Models\ReportTemplate;use App\Models\User;-use Tests\Support\InteractsWithSettings;use Tests\TestCase;class DeleteReportTemplateTest extends TestCase{- use InteractsWithSettings;-public function testDeletingReportTemplateRequiresCorrectPermission(){$this->actingAs(User::factory()->create())diff --git a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php b/tests/Feature/ReportTemplates/ShowReportTemplateTest.phpindex 02036d7b9a..477ef90112 100644--- a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php+++ b/tests/Feature/ReportTemplates/ShowReportTemplateTest.php@@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;use App\Models\ReportTemplate;use App\Models\User;-use Tests\Support\InteractsWithSettings;use Tests\TestCase;class ShowReportTemplateTest extends TestCase{- use InteractsWithSettings;-public function testCanLoadCustomReportPage(){$this->actingAs(User::factory()->canViewReports()->create())diff --git a/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php b/tests/Feature/ReportTemplates/UpdateReportTemplateTest.phpindex 00c81cab26..aea652924d 100644--- a/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php+++ b/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php@@ -4,13 +4,10 @@ namespace Tests\Feature\ReportTemplates;use App\Models\ReportTemplate;use App\Models\User;-use Tests\Support\InteractsWithSettings;use Tests\TestCase;class UpdateReportTemplateTest extends TestCase{- use InteractsWithSettings;-public function testUpdatingReportTemplateRequiresCorrectPermission(){$this->actingAs(User::factory()->create())diff --git a/tests/Unit/ReportTemplateTest.php b/tests/Unit/ReportTemplateTest.phpindex 55b9d47225..e8607f804a 100644--- a/tests/Unit/ReportTemplateTest.php+++ b/tests/Unit/ReportTemplateTest.php@@ -7,13 +7,10 @@ use App\Models\Location;use App\Models\ReportTemplate;use App\Models\User;use Illuminate\Database\Eloquent\Collection;-use Tests\Support\InteractsWithSettings;use Tests\TestCase;class ReportTemplateTest extends TestCase{- use InteractsWithSettings;-public function testSavedTemplatesAreScopedToTheUser(){// Given there is a saved template for one user