diff --git a/tests/Feature/ReportTemplates/CreateReportTemplateTest.php b/tests/Feature/ReportTemplates/CreateReportTemplateTest.php index 8b5c5e520..073b4ab90 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.php index c015e7445..8940e9fa6 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.php index 02036d7b9..477ef9011 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.php index 00c81cab2..aea652924 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.php index 55b9d4722..e8607f804 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