Skip to content

Commit

Permalink
Remove obsolete database config option for test env
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Jul 1, 2024
1 parent b5aa632 commit 3b74a7a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ config :asciinema, Asciinema.Repo,
pool: Ecto.Adapters.SQL.Sandbox,
pool_size: 10

if db_url = System.get_env("TEST_DATABASE_URL") do
System.put_env("DATABASE_URL", db_url)
end

# In test we don't send emails.
config :asciinema, Asciinema.Emails.Mailer, adapter: Swoosh.Adapters.Test

Expand Down

0 comments on commit 3b74a7a

Please sign in to comment.