]> granicus.if.org Git - ejabberd/commitdiff
Fix elixir tests
authorPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 28 Apr 2017 08:08:09 +0000 (10:08 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 28 Apr 2017 08:08:09 +0000 (10:08 +0200)
src/ejabberd_config.erl

index 041b5b6a137f830f28d697a96191908789e3ef7e..0fcb5b0516abf1d6c39a61694fa205f1f260c105 100644 (file)
@@ -102,6 +102,8 @@ hosts_to_start(State) ->
 %% At the moment, these functions are mainly used to setup unit tests.
 -spec start(Hosts :: [binary()], Opts :: [acl:acl() | local_config()]) -> ok.
 start(Hosts, Opts) ->
+    p1_options:start_link(ejabberd_options),
+    p1_options:start_link(ejabberd_db_modules),
     set_opts(set_hosts_in_options(Hosts, #state{opts = Opts})),
     ok.