···4545 'stream_id' => 1, // Changelog stream_id is tinyint, autoincrement makes test fail too soon.
4646 ]);
47474848- factory(Changelog::class)->create([
4848+ Changelog::factory()->create([
4949 'stream_id' => $stream->getKey(),
5050 'user_id' => 1, // user doesn't need to exist and not having to create a user makes the test much faster
5151 ]);