about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.envrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.envrc b/.envrc
index a567465..31d3b45 100644
--- a/.envrc
+++ b/.envrc
@@ -11,4 +11,6 @@ export BACKEND_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
 export JOB_QUEUE_URI="postgres://localhost?dbname=kittybox&host=/run/postgresql"
 export BLOBSTORE_URI=file://./media-store
 export AUTH_STORE_URI=file://./auth-store
-export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz
\ No newline at end of file
+export COOKIE_SECRET=1234567890abcdefghijklmnopqrstuvwxyz
+# Add DATABASE_URL for `cargo test` invocations
+export DATABASE_URL="postgres://localhost?dbname=kittybox&host=/run/postgresql"
\ No newline at end of file