If you were calling a game played under FIBA rules your partner would have been correct to call goal tending.
However, it sounds that you handled the situation correctly and got the play right. I hope you and your partner cracked open the book and went over what the correct application of the rule in your post game.