If the test result is positive, you would not be allowed to travel. Most airlines will refund a portion of your ticket price or allow you to rebook for a different date by paying the cancellation charge.