Scaffold additional tests
This commit is contained in:
parent
e5fb888d67
commit
8d8bf73c1b
1 changed files with 10 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue