A free open source IT asset/license management system
Scaffold tests
Marcus Moore49fb899fdf7b
diff --git a/tests/Feature/Reporting/Custom/CustomAccessoryReportTest.php b/tests/Feature/Reporting/Custom/CustomAccessoryReportTest.phpnew file mode 100644index 0000000000..656b4af387--- /dev/null+++ b/tests/Feature/Reporting/Custom/CustomAccessoryReportTest.php@@ -0,0 +1,35 @@+<?php++namespace Tests\Feature\Reporting\Custom;++use PHPUnit\Framework\Attributes\Group;+use Tests\TestCase;++#[Group('custom-reporting')]+class CustomAccessoryReportTest extends TestCase+{+ public function test_requires_permission()+ {+ $this->markTestIncomplete();+ }++ public function test_can_load_custom_report_page()+ {+ $this->markTestIncomplete();+ }++ public function test_saved_templates_on_page_are_scoped_to_the_user_and_type()+ {+ $this->markTestIncomplete();+ }++ public function test_custom_accessory_report()+ {+ $this->markTestIncomplete();+ }++ public function test_custom_accessory_report_adheres_to_company_scoping()+ {+ $this->markTestIncomplete();+ }+}diff --git a/tests/Feature/Reporting/Custom/CustomReportTest.php b/tests/Feature/Reporting/Custom/CustomReportTest.phpindex 54d00d1909..948b0d5d5c 100644--- a/tests/Feature/Reporting/Custom/CustomReportTest.php+++ b/tests/Feature/Reporting/Custom/CustomReportTest.php@@ -70,8 +70,10 @@ class CustomReportTest extends TestCase implements TestsPermissionsRequirement]);}- public function test_saved_templates_on_page_are_scoped_to_the_user()+ public function test_saved_templates_on_page_are_scoped_to_the_user_and_type(){+ $this->markTestIncomplete('Add {type} check');+// Given there is a saved template for one userReportTemplate::factory()->create(['name' => 'Report A']);