diff --git a/tests/Unit/Models/Shifts/ShiftTypeTest.php b/tests/Unit/Models/Shifts/ShiftTypeTest.php index 85b1d632..e91f33ae 100644 --- a/tests/Unit/Models/Shifts/ShiftTypeTest.php +++ b/tests/Unit/Models/Shifts/ShiftTypeTest.php @@ -16,7 +16,7 @@ class ShiftTypeTest extends ModelTest $shiftType = new ShiftType(['name' => 'Test type', 'description' => 'Foo bar baz']); $shiftType->save(); - Schedule::factory()->create(); + Schedule::factory()->create(['shift_type' => 2]); Schedule::factory(2)->create(['shift_type' => 1]); $this->assertCount(2, ShiftType::find(1)->schedules);