mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Scaffold test case
This commit is contained in:
parent
137193ab12
commit
d8d92a6d2c
|
@ -66,6 +66,16 @@ class ReportTemplateTest extends TestCase
|
|||
->assertSessionHasErrors('name');
|
||||
}
|
||||
|
||||
public function testRedirectingAfterValidationErrorRestoresInputs()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
|
||||
// We might not implement this test case, but we want to ensure
|
||||
// that selecting fields in the UI, then getting redirected
|
||||
// back after hitting the "Save Template" button without
|
||||
// a name set restores the previously selected values.
|
||||
}
|
||||
|
||||
public function testSavingReportTemplateRequiresCorrectPermission()
|
||||
{
|
||||
$this->actingAs(User::factory()->create())
|
||||
|
|
Loading…
Reference in a new issue