The result followed Morocco’s 4-2 victory over Spain in the first friendly two days earlier at the same venue.