From 231ed3b4ad3e1521c4d453dc30a4fb1c40ab7fba Mon Sep 17 00:00:00 2001 From: philipp lang Date: Tue, 2 Jul 2024 18:44:42 +0200 Subject: [PATCH] Lint --- .../2024_07_02_155058_update_member_participants_column.php | 2 +- tests/Feature/Form/FormRegisterActionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2024_07_02_155058_update_member_participants_column.php b/database/migrations/2024_07_02_155058_update_member_participants_column.php index 5c1a1d3e..ccec6a2f 100644 --- a/database/migrations/2024_07_02_155058_update_member_participants_column.php +++ b/database/migrations/2024_07_02_155058_update_member_participants_column.php @@ -16,7 +16,7 @@ return new class extends Migration public function up() { Schema::table('participants', function (Blueprint $table) { - $table->renameColumn('mitgliedsnr', 'member_id')->nullable(); + $table->renameColumn('mitgliedsnr', 'member_id'); }); Schema::table('participants', function (Blueprint $table) { diff --git a/tests/Feature/Form/FormRegisterActionTest.php b/tests/Feature/Form/FormRegisterActionTest.php index 9af378ac..26ce9571 100644 --- a/tests/Feature/Form/FormRegisterActionTest.php +++ b/tests/Feature/Form/FormRegisterActionTest.php @@ -430,7 +430,7 @@ class FormRegisterActionTest extends FormTestCase ->create(); $this->register($form, ['email' => 'max@muster.de'])->assertOk(); - $this->assertNull($form->participants->first()->mitgliedsnr); + $this->assertNull($form->participants->first()->member_id); $this->assertNull($form->participants->first()->parent_id); }