Skip to content

Commit

Permalink
fix: The DATABASE_URL set in .env.test doesn't include a colon betwee…
Browse files Browse the repository at this point in the history
…n the username and password. (#246)
  • Loading branch information
cullylarson authored Feb 9, 2022
1 parent 1865c54 commit 9d33f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/create-bison-app/template/_.env.test.ejs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# ENV vars here override .env when running tests
DATABASE_URL="postgresql://<%= db.dev.user %><%= db.dev.password %>@<%= db.dev.host %>:<%= db.dev.port %>/<%= db.test.name %>?schema=public"
APP_SECRET=foo
DATABASE_URL="postgresql://<%= db.dev.user %><% if (db.dev.password) { %>:<%= db.dev.password %><% } %>@<%= db.dev.host %>:<%= db.dev.port %>/<%= db.test.name %>?schema=public"
APP_SECRET=foo

0 comments on commit 9d33f77

Please sign in to comment.