def METHOD_NAME(
    user_api_client,
    menu,
    graphql_log_handler,
):
    # given
    variables = {
        "id": graphene.Node.to_global_id("Menu", menu.pk),
        "name": menu.name,
    }
    # when
    response = user_api_client.post_graphql(QUERY_MENU, variables=variables)
    # then
    assert graphql_log_handler.messages == [
        "saleor.graphql.errors.handled[INFO].GraphQLError"
    ]
    content = get_graphql_content(response, ignore_errors=True)
    assert len(content["errors"]) == 1