This commit is contained in:
Adrian Hopek 2022-02-22 09:49:53 +01:00
parent 8a6d9151fb
commit 0bcbaec79f

View File

@ -107,7 +107,6 @@ class VacationRequestTest extends FeatureTestCase
$this->actingAs($creator) $this->actingAs($creator)
->post("/vacation-requests", [ ->post("/vacation-requests", [
"user" => $user->id, "user" => $user->id,
"creator_id" => $creator->id,
"type" => VacationType::Vacation->value, "type" => VacationType::Vacation->value,
"from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(), "from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(),
"to" => Carbon::create($currentYearPeriod->year, 2, 11)->toDateString(), "to" => Carbon::create($currentYearPeriod->year, 2, 11)->toDateString(),
@ -147,7 +146,6 @@ class VacationRequestTest extends FeatureTestCase
$this->actingAs($creator) $this->actingAs($creator)
->post("/vacation-requests", [ ->post("/vacation-requests", [
"user" => $user->id, "user" => $user->id,
"creator_id" => $creator->id,
"type" => VacationType::Vacation->value, "type" => VacationType::Vacation->value,
"from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(), "from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(),
"to" => Carbon::create($currentYearPeriod->year, 2, 11)->toDateString(), "to" => Carbon::create($currentYearPeriod->year, 2, 11)->toDateString(),