OriginProtocol / origin-bridge

We've moved to a monorepo: https://github.com/OriginProtocol/origin/tree/master/infra/bridge
MIT License
15 stars 7 forks source link

Make test database configurable #107

Closed tomlinton closed 6 years ago

tomlinton commented 6 years ago

Checklist:

Description:

Implements an option to configure a testing database through the TEST_DATABASE_URL setting. If not configured testing.postgresql will be used as before.

I added this because testing.postgresql requires Postgresql to be installed and the binaries added to PATH. I didn't have Postgresql on my local machine, but could connect to an instance for testing. This is common in CI/CD environments too so it is handy to have the option.