pregnancy test

So I took a test last night but it came
Back negative. I think my pee was diluted because I drank a lot of liquids before I took it. Which I didn't think about until after. Would that have effected the test? Also is it better to test in the morning? I bought another test to be sure and I just want to know when a good time is.