withoutExceptionHandling(); $this->login(); $member = Member::factory() ->for(Country::factory()) ->for(Group::factory()->state(['nami_id' => 12399])) ->for(Nationality::factory()) ->for(Fee::factory()) ->create(['firstname' => 'Max', 'nami_id' => 999]); $member->update(['firstname' => 'Jane']); $this->assertMemberExists(12399, [ 'vorname' => 'Jane', 'id' => 999 ]); } }