I mentioned it above, but I'm sure they get married—we saw a flashback to the reception, where Ted and the Mother lock eyes while the band is playing, and the reception doesn't usually happen if the wedding is called off, to the best of my knowledge.