Ultimately what matters is the entire application, database queries and all, works. I think calling out to the DB in tests is important for ensuring the entire app works.
And tests hitting the database can be fast: https://www.brandur.org/nanoglyphs/029-path-of-madness