]> granicus.if.org Git - ejabberd/commitdiff
Don't forget to disconnect
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 14 Apr 2017 17:32:26 +0000 (20:32 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 14 Apr 2017 17:32:26 +0000 (20:32 +0300)
test/privacy_tests.erl

index de5da9fd65c491571eccdf4297477c057e64f8cf..44c050cbf0d5bd914f387d9e817246db20b44030 100644 (file)
@@ -219,7 +219,8 @@ malformed_set(Config) ->
                                    #privacy_list{name = <<"2">>}]},
            #block{},
            #block_list{},
-           #block_list{items = [jid:make(randoms:get_string())]}]).
+           #block_list{items = [jid:make(randoms:get_string())]}]),
+    disconnect(Config).
 
 malformed_type_value(Config) ->
     Item = #privacy_item{order = 0, action = deny},