create([ 'firstname' => 'Jane', 'lastname' => 'Smith', 'email' => 'jane@example.com', 'cellphone' => '5555555555', 'address_street' => '123 Main', 'city' => 'City', 'state' => 'ST', 'zip' => '12345', 'accept_school_policy' => 1, 'status' => 'Active', 'password' => bcrypt('secret'), 'semester' => 'Fall', 'school_year' => '2025-2026', ]); $service = app(ProfileIconService::class); $payload = $service->buildForUser($user->id); $this->assertSame('JS', $payload['userInitials']); } }