mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-09 10:19:19 +00:00
Benchmark env uses test database so we should be able to use test.secret.exs
This commit is contained in:
parent
92b4a1aa1b
commit
df469b4468
1 changed files with 8 additions and 0 deletions
|
@ -82,3 +82,11 @@ config :pleroma, :database, rum_enabled: rum_enabled
|
|||
IO.puts("RUM enabled: #{rum_enabled}")
|
||||
|
||||
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
|
||||
|
||||
if File.exists?("./config/test.secret.exs") do
|
||||
import_config "test.secret.exs"
|
||||
else
|
||||
IO.puts(
|
||||
"You may want to create test.secret.exs to declare custom database connection parameters."
|
||||
)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue