#85 - google calendar improvements #86

Merged
Baakoma merged 8 commits from #85-google-calendar-improvements into main 2022-03-18 08:11:35 +01:00
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 1b44cf9fc5 - Show all commits

View File

@@ -19,7 +19,7 @@ return new class() extends Migration {
{
Schema::table("vacation_requests", function (Blueprint $table): void {
$table->dropColumn("event_ids");
$table->string("name");
$table->string("name")->nullable();
});
}
};

View File

@@ -84,7 +84,6 @@ class VacationRequestTest extends FeatureTestCase
$this->assertDatabaseHas("vacation_requests", [
"user_id" => $user->id,
"year_period_id" => $currentYearPeriod->id,
"name" => "1/" . $currentYearPeriod->year,
"type" => VacationType::Vacation->value,
"state" => WaitingForTechnical::$name,
"from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(),
@@ -121,7 +120,6 @@ class VacationRequestTest extends FeatureTestCase
"user_id" => $user->id,
"creator_id" => $creator->id,
"year_period_id" => $currentYearPeriod->id,
"name" => "1/" . $currentYearPeriod->year,
"type" => VacationType::Vacation->value,
"state" => WaitingForTechnical::$name,
"from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(),
@@ -161,7 +159,6 @@ class VacationRequestTest extends FeatureTestCase
"user_id" => $user->id,
"creator_id" => $creator->id,
"year_period_id" => $currentYearPeriod->id,
"name" => "1/" . $currentYearPeriod->year,
"type" => VacationType::Vacation->value,
"state" => Approved::$name,
"from" => Carbon::create($currentYearPeriod->year, 2, 7)->toDateString(),