def METHOD_NAME(
    graphql_client, vote_factory, requests_mock, settings
):
    vote = vote_factory()
    conference = vote.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}}
        )
        response = graphql_client.query(
            """query MyVote($conference: String!) {
            submissions(code: $conference) {
                items {
                    myVote {
                        value
                    }
                }
            }
        }
        """,
            variables={"conference": vote.submission.conference.code},
        )
    assert response["errors"][0]["message"] == "User not logged in"
    assert response["errors"][0]["path"] == ["submissions"]