From ed949a90e108e00776ed9bfafbbabec14df580e1 Mon Sep 17 00:00:00 2001 From: Vika Date: Mon, 8 Jul 2024 21:51:58 +0300 Subject: .envrc: add DATABASE_URL for `cargo test` to work --- .envrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1