Skip to content

Commit 703865d

Browse files
Load runtime config before running tests.
1 parent b78b263 commit 703865d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

config/runtime.exs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import Config
2+
3+
4+
IO.puts("Load runtime config...")
5+
Bonfire.Common.Config.LoadExtensionsConfig.load_configs(Bonfire.Common.RuntimeConfig)

test/test_helper.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
IO.puts("Prepare to run tests...")
2-
1+
IO.puts("Start app...")
32
Application.ensure_all_started(:bonfire)
43

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

0 commit comments

Comments
 (0)