Is SpongeBob and sandy was getting married?

well, in the episode "truth or square" the gang was talking about memories. and spongebob says, "remember the time sandy and I got married" and everybody is surprised. in the flashback,it turns out to just be a play.