def METHOD_NAME(
    graphql_client, user, submission_factory, requests_mock
):
    graphql_client.force_login(user)
    submission = submission_factory(conference__active_voting=True)
    conference = submission.conference
    requests_mock.post(
        f"{settings.PRETIX_API}organizers/{conference.pretix_organizer_id}/events/{conference.pretix_event_id}/tickets/attendee-has-ticket/",
        json={"user_has_admission_ticket": False},
    )
    with respx.mock as mock:
        mock.post(f"{settings.ASSOCIATION_BACKEND_SERVICE}/internal-api").respond(
            json={"data": {"userIdIsMember": False}}
        )
        resp, _ = _submit_vote(graphql_client, submission, value_index=3)
    assert not resp.get("errors")
    assert resp["data"]["sendVote"]["__typename"] == "SendVoteErrors"
    assert resp["data"]["sendVote"]["nonFieldErrors"] == [
        "You cannot vote without a ticket"
    ]
    with raises(Vote.DoesNotExist):
        Vote.objects.get(user_id=user.id, submission=submission)