Skip to content

Commit

Permalink
Load runtime config before running tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
fishinthecalculator committed Mar 13, 2024
1 parent 68ffd1a commit bea26a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions config/runtime.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Config


IO.puts("Load runtime config...")
Bonfire.Common.Config.LoadExtensionsConfig.load_configs(Bonfire.Common.RuntimeConfig)
4 changes: 2 additions & 2 deletions test/test_helper.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
IO.puts("Prepare to run tests...")

IO.puts("Start app...")
Application.ensure_all_started(:bonfire)

IO.puts("Prepare to run tests...")
Code.ensure_loaded!(Bonfire.Testing)
Bonfire.Testing.configure_start_test()

0 comments on commit bea26a0

Please sign in to comment.