A Canadian court has heard an appeal against the decision not to grant Ghana midfielder Thomas Partey a visa.