Skip to content

Commit

Permalink
Attempt to fix tests for R15
Browse files Browse the repository at this point in the history
Replace application:ensure_all_started/1 call with
the appropriate application:start/1 calls instead.
  • Loading branch information
yurrriq committed Apr 22, 2016
1 parent 346f1a6 commit e2339cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/elli_xpblfe.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{application, elli_xpblfe, [
{description, "Elli middleware to add X-Powered-By: LFE header."},
{vsn, "0.1.1"},
{vsn, "0.1.2"},
{registered, []},
{applications, [kernel, stdlib]},
{env, []},
Expand Down
5 changes: 4 additions & 1 deletion test/elli_xpblfe_tests.lfe
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@
(proplists:get_value "x-powered-by" (headers response)))

(defun setup ()
(application:ensure_all_started 'inets)
(application:start 'crypto)
(application:start 'public_key)
(application:start 'ssl)
(inets:start)
(let* ((config `[#(mods [#(elli_example_middleware [])
#(elli_middlware_compress [])
#(elli_example_callback [])
Expand Down

0 comments on commit e2339cc

Please sign in to comment.