mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Scaffold additional tests
This commit is contained in:
parent
e5fb888d67
commit
8d8bf73c1b
|
@ -132,6 +132,11 @@ class ReportTemplateTest extends TestCase
|
|||
$this->assertNull((new ReportTemplate)->selectValue('value_on_unsaved_template', Location::class));
|
||||
}
|
||||
|
||||
public function testSelectValueDoesNotIncludeModelUserDoesNotHaveAccessTo()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
public function testSelectValuesDoNotIncludeDeletedOrNonExistentModels()
|
||||
{
|
||||
[$locationA, $locationB] = Location::factory()->count(2)->create();
|
||||
|
@ -156,6 +161,11 @@ class ReportTemplateTest extends TestCase
|
|||
$this->assertNotContains($invalidId, $parsedValues);
|
||||
}
|
||||
|
||||
public function testSelectValuesDoesNotIncludeModelUserDoesNotHaveAccessTo()
|
||||
{
|
||||
$this->markTestIncomplete();
|
||||
}
|
||||
|
||||
public function testGracefullyHandlesSingleSelectBecomingMultiSelect()
|
||||
{
|
||||
$department = Department::factory()->create();
|
||||
|
|
Loading…
Reference in a new issue