Merge branch 'main' into small-changes
# Conflicts: # tests/Feature/MonthlyUsageTest.php # tests/Feature/VacationCalendarTest.php # tests/Feature/VacationRequestTest.php
This commit is contained in:
@@ -14,7 +14,7 @@ class VacationCalendarTest extends FeatureTestCase
|
||||
|
||||
public function testAdministrativeApproverCanDownloadTimesheet(): void
|
||||
{
|
||||
$administrativeApprover = User::factory()->administrativeApprover()->createQuietly();
|
||||
$administrativeApprover = User::factory()->administrativeApprover()->create();
|
||||
|
||||
$this->actingAs($administrativeApprover)
|
||||
->get("/vacation/timesheet/january")
|
||||
@@ -23,7 +23,7 @@ class VacationCalendarTest extends FeatureTestCase
|
||||
|
||||
public function testEmployeeCannotDownloadTimesheet(): void
|
||||
{
|
||||
$user = User::factory()->createQuietly();
|
||||
$user = User::factory()->create();
|
||||
|
||||
$this->actingAs($user)
|
||||
->get("/vacation/timesheet/january")
|
||||
|
||||
Reference in New Issue
Block a user