A free open source IT asset/license management system
Implement test
Marcus Moore17e39bad18ec
diff --git a/tests/Feature/Reporting/Custom/CustomAssetReportTest.php b/tests/Feature/Reporting/Custom/CustomAssetReportTest.phpindex 56863edb30..1d66953643 100644--- a/tests/Feature/Reporting/Custom/CustomAssetReportTest.php+++ b/tests/Feature/Reporting/Custom/CustomAssetReportTest.php@@ -57,7 +57,11 @@ class CustomAssetReportTest extends TestCasepublic function test_requires_permission_to_run_report(){- $this->markTestIncomplete();+ $this->actingAs(User::factory()->create())+ ->post(route('reports.post-custom'), [+ //+ ])+ ->assertForbidden();}public function test_can_load_custom_report_page()