def METHOD_NAME(
    self, db_request, user_service, organization_service
):
    organization = OrganizationFactory.create()
    organization.record_event = pretend.call_recorder(lambda *a, **kw: None)
    user = UserFactory.create()
    user.record_event = pretend.call_recorder(lambda *a, **kw: None)
    invite = OrganizationInvitationFactory(user=user, organization=organization)
    token_service = pretend.stub(loads=pretend.raiser(TokenExpired))
    db_request.find_service = pretend.call_recorder(lambda *a, **kw: token_service)
    update_organization_invitation_status(db_request)
    assert db_request.find_service.calls == [
        pretend.call(ITokenService, name="email")
    ]
    assert invite.invite_status == OrganizationInvitationStatus.Expired
    assert user.record_event.calls == [
        pretend.call(
            tag=EventTag.Account.OrganizationRoleExpireInvite,
            request=db_request,
            additional={"organization_name": invite.organization.name},
        )
    ]
    assert organization.record_event.calls == [
        pretend.call(
            tag=EventTag.Organization.OrganizationRoleExpireInvite,
            request=db_request,
            additional={"target_user_id": str(invite.user.id)},
        )
    ]