** (RuntimeError) could not lookup Ecto repo Repo because it was not started or it does not exist

We just solved this problem. In our case, the test database had unexpected data. (!!) It might have had a slightly different schema than expected.

The fix was to recreate the test database with MIX_ENV=test mix ecto.reset.

It was a frustrating experience.