def METHOD_NAME(
    graphql_client,
    user,
    conference_factory,
    grant_factory,
):
    graphql_client.force_login(user)
    conference = conference_factory(
        active_grants=True,
    )
    grant = grant_factory(
        user_id=user.id,
        conference=conference,
    )
    response = _update_grant(
        graphql_client,
        grant=grant,
        name="Marcotte" * 50,
        travellingFrom="Very long location" * 50,
    )
    assert response["data"]["updateGrant"]["__typename"] == "GrantErrors"
    assert response["data"]["updateGrant"]["validationName"] == [
        "name: Cannot be more than 300 chars"
    ]
    assert response["data"]["updateGrant"]["validationTravellingFrom"] == [
        "travelling_from: Cannot be more than 200 chars"
    ]