def METHOD_NAME(
    conference,
    rank_request_factory,
    rank_submission_factory,
    graphql_client,
    user,
    mock_users_by_ids,
):
    graphql_client.force_login(user)
    rank_request = rank_request_factory(conference=conference, is_public=False)
    rank_submission = rank_submission_factory(
        rank_request=rank_request, submission__speaker_id=10
    )
    query = """
        query($code: String!, $topic: ID!) {
            conference(code: $code) {
                ranking(topic: $topic) {
                    isPublic
                    rankedSubmissions {
                        rank
                        score
                    }
                }
            }
        }
    """
    resp = graphql_client.query(
        query,
        variables={
            "code": conference.code,
            "topic": rank_submission.submission.topic.id,
        },
    )
    assert "errors" not in resp
    assert resp["data"]["conference"]["ranking"] is None