Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/privacy_tests.erl')
-rw-r--r--test/privacy_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/privacy_tests.erl b/test/privacy_tests.erl
index fdde64958..054925aab 100644
--- a/test/privacy_tests.erl
+++ b/test/privacy_tests.erl
@@ -785,12 +785,12 @@ server_send_iqs(Config) ->
lists:foreach(
fun(Type) ->
ejabberd_router:route(
- ServerJID, MyJID, #iq{type = Type})
+ #iq{from = ServerJID, to = MyJID, type = Type})
end, [error, result]),
lists:foreach(
fun(Type) ->
ejabberd_local:route_iq(
- ServerJID, MyJID, #iq{type = Type},
+ #iq{from = ServerJID, to = MyJID, type = Type},
fun(#iq{type = result, sub_els = []}) -> ok;
(IQ) -> ct:fail({unexpected_iq_result, IQ})
end)