Skip to content

A free open source IT asset/license management system

Improve test

Marcus Moore3d28a9090cd4
diff --git a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php b/tests/Feature/ReportTemplates/ShowReportTemplateTest.php
index 1bd63daee6..0fffd0962b 100644
--- a/tests/Feature/ReportTemplates/ShowReportTemplateTest.php
+++ b/tests/Feature/ReportTemplates/ShowReportTemplateTest.php
@@ -47,7 +47,7 @@ class ShowReportTemplateTest extends TestCase implements TestsPermissionsRequire
$this->actingAs(User::factory()->canViewReports()->create())
->get(route('report-templates.show', $reportTemplate))
+ ->assertSessionHas('error')
->assertRedirect(route('reports/custom'));
-
}
}