diff --git a/tests/Feature/ReportTemplates/CreateReportTemplateTest.php b/tests/Feature/ReportTemplates/CreateReportTemplateTest.php index ba742c8ad6..3221543171 100644 --- a/tests/Feature/ReportTemplates/CreateReportTemplateTest.php +++ b/tests/Feature/ReportTemplates/CreateReportTemplateTest.php @@ -4,9 +4,11 @@ namespace Tests\Feature\ReportTemplates; use App\Models\ReportTemplate; use App\Models\User; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class CreateReportTemplateTest extends TestCase implements TestsPermissionsRequirement { public function testRequiresPermission() diff --git a/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php b/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php index ac6c7cbccb..5698f6f0a5 100644 --- a/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php +++ b/tests/Feature/ReportTemplates/DeleteReportTemplateTest.php @@ -4,9 +4,11 @@ namespace Tests\Feature\ReportTemplates; use App\Models\ReportTemplate; use App\Models\User; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class DeleteReportTemplateTest extends TestCase implements TestsPermissionsRequirement { public function testRequiresPermission() diff --git a/tests/Feature/ReportTemplates/EditReportTemplateTest.php b/tests/Feature/ReportTemplates/EditReportTemplateTest.php index 1698a167f5..369c0e7ccb 100644 --- a/tests/Feature/ReportTemplates/EditReportTemplateTest.php +++ b/tests/Feature/ReportTemplates/EditReportTemplateTest.php @@ -4,9 +4,11 @@ namespace Tests\Feature\ReportTemplates; use App\Models\ReportTemplate; use App\Models\User; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class EditReportTemplateTest extends TestCase implements TestsPermissionsRequirement { public function testRequiresPermission() diff --git a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php b/tests/Feature/ReportTemplates/ShowReportTemplateTest.php index 9ee1fd70ff..89f0f7302a 100644 --- a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php +++ b/tests/Feature/ReportTemplates/ShowReportTemplateTest.php @@ -4,9 +4,11 @@ namespace Tests\Feature\ReportTemplates; use App\Models\ReportTemplate; use App\Models\User; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class ShowReportTemplateTest extends TestCase implements TestsPermissionsRequirement { public function testRequiresPermission() diff --git a/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php b/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php index 54ab00319f..a01db5ffd0 100644 --- a/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php +++ b/tests/Feature/ReportTemplates/UpdateReportTemplateTest.php @@ -4,9 +4,11 @@ namespace Tests\Feature\ReportTemplates; use App\Models\ReportTemplate; use App\Models\User; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class UpdateReportTemplateTest extends TestCase implements TestsPermissionsRequirement { public function testRequiresPermission() diff --git a/tests/Feature/Reporting/CustomReportTest.php b/tests/Feature/Reporting/CustomReportTest.php index 6b31a09863..91d627129d 100644 --- a/tests/Feature/Reporting/CustomReportTest.php +++ b/tests/Feature/Reporting/CustomReportTest.php @@ -9,9 +9,11 @@ use App\Models\User; use Illuminate\Testing\TestResponse; use League\Csv\Reader; use PHPUnit\Framework\Assert; +use PHPUnit\Framework\Attributes\Group; use Tests\Concerns\TestsPermissionsRequirement; use Tests\TestCase; +#[Group('custom-reporting')] class CustomReportTest extends TestCase implements TestsPermissionsRequirement { protected function setUp(): void diff --git a/tests/Unit/ReportTemplateTest.php b/tests/Unit/ReportTemplateTest.php index e8607f804a..9073b06afa 100644 --- a/tests/Unit/ReportTemplateTest.php +++ b/tests/Unit/ReportTemplateTest.php @@ -7,8 +7,10 @@ use App\Models\Location; use App\Models\ReportTemplate; use App\Models\User; use Illuminate\Database\Eloquent\Collection; +use PHPUnit\Framework\Attributes\Group; use Tests\TestCase; +#[Group('custom-reporting')] class ReportTemplateTest extends TestCase { public function testSavedTemplatesAreScopedToTheUser()