File chatterbox-0.5.0-fix-test.patch of Package chatterbox
diff -Ndurp chatterbox-0.5.0/test/chatterbox_test_buddy.erl chatterbox-0.5.0-fix-test/test/chatterbox_test_buddy.erl
--- chatterbox-0.5.0/test/chatterbox_test_buddy.erl 2017-06-28 21:36:56.000000000 +0300
+++ chatterbox-0.5.0-fix-test/test/chatterbox_test_buddy.erl 2017-10-22 18:57:49.604775602 +0300
@@ -6,13 +6,13 @@
start(Config) ->
application:load(chatterbox),
- ok = application:ensure_started(ranch),
+ {ok, _} = application:ensure_all_started(ranch),
Config2 = ensure_ssl(Config),
PreDataSettings = [
{port, 8081},
{ssl, ?config(ssl, Config2)},
- {ssl_options, [{certfile, "../../../../config/localhost.crt"},
- {keyfile, "../../../../config/localhost.key"},
+ {ssl_options, [{certfile, "../../config/localhost.crt"},
+ {keyfile, "../../config/localhost.key"},
{honor_cipher_order, false},
{versions, ['tlsv1.2']},
{alpn_preferred_protocols, [<<"h2">>]}]}