UTIs affecting pregnancy test?

Anna

Help! I’ve gotten so many different answers from both mothers and medical professionals - can having a UTI affect a pregnancy test? I noticed UTI symptoms two days ago, went to doctor the second day before it got too bad, they did a urine test and it was negative. Now I’m 3 days late with no cramping or spotting but super crazy cravings and I’m much more irritable than usual. Advice/thoughts/suggestions?