def METHOD_NAME(
    order_with_lines,
    permission_group_manage_orders,
    staff_api_client,
    staff_user,
):
    # given
    permission_group_manage_orders.user_set.add(staff_api_client.user)
    query = ORDER_LINE_UPDATE_MUTATION
    order = order_with_lines
    line = order.lines.first()
    variables = {"lineId": Node.to_global_id("OrderLine", line.id), "quantity": 1}
    # when
    content = get_graphql_content(staff_api_client.post_graphql(query, variables))
    # then
    assert not content["data"]["orderLineUpdate"]["errors"]
    order.refresh_from_db()
    assert order.should_refresh_prices