Uti and missed period

Has anyone missed their period and got only negative test results but got told they had a uti. And then once the uti was gone they got a positive result. I just want to know if anyone has had this happen to them because my doctor told that it could be a possibility in my case right now.