def METHOD_NAME(
    staff_api_client, permission_manage_orders, draft_order
):
    # given
    ProductVariant.objects.update(sku=None)
    draft_order.lines.update(product_sku=None)
    order_id = graphene.Node.to_global_id("Order", draft_order.id)
    variables = {"id": order_id}
    staff_api_client.user.user_permissions.add(permission_manage_orders)
    # when
    response = staff_api_client.post_graphql(ORDER_CAN_FINALIZE_QUERY, variables)
    content = get_graphql_content(response)
    # then
    assert content["data"]["order"]["canFinalize"] is True
    assert not content["data"]["order"]["errors"]