Merge branch 'main' into small-changes

# Conflicts:
#	tests/Feature/MonthlyUsageTest.php
#	tests/Feature/VacationCalendarTest.php
#	tests/Feature/VacationRequestTest.php
This commit is contained in:
Adrian Hopek
2022-03-30 09:56:17 +02:00
6 changed files with 128 additions and 26 deletions

View File

@@ -14,7 +14,7 @@ class MonthlyUsageTest extends FeatureTestCase
public function testAdministatorCanSeeVacationsMonthlyUsage(): void
{
$admin = User::factory()->admin()->createQuietly();
$admin = User::factory()->admin()->create();
$this->actingAs($admin)
->get("/vacation/monthly-usage")
@@ -23,7 +23,7 @@ class MonthlyUsageTest extends FeatureTestCase
public function testEmployeeCannotSeeVacationsMonthlyUsage(): void
{
$user = User::factory()->createQuietly();
$user = User::factory()->create();
$this->actingAs($user)
->get("/vacation/monthly-usage")