Question, I need a answer!

So I drink coffee, I'm 4 days late from my period. I took a pregnancy test and it came out negative. Can the coffee have an effect on that?