No that is not what's happening in this case.
The legality of same-sex marriage is not at all being questioned by this case. Instead it's a case about procedures and penalties to be applied under state law toward ministerial offices. It has nothing to do with whether same-sex marriage is legal.
Unfortunately there are a lot of very misleading sensationalized headlines going around.