fix: pass tests without connection
Description
This fixes the tests when running without a connection. It was introduced in !783 (merged).
There are two ways to run the tests on this project:
-
With connection
source .env.test make test -
Without connection
make test
This was failing in the second case.