diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-08-31 00:26:37 +0300 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2015-08-31 00:26:37 +0300 |
commit | 9f62426343df4735827ac9715459d64299798c07 (patch) | |
tree | cc86efd33015f9ab9429d587b5415e30b35ddc91 /test | |
parent | 3ed75890cb9e55e62a6195c6a4159b31259580c2 (diff) |
Update MAM tests to always expect RSM in response
Diffstat (limited to 'test')
-rw-r--r-- | test/ejabberd_SUITE.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/ejabberd_SUITE.erl b/test/ejabberd_SUITE.erl index 47c4b9e75..a220ed37e 100644 --- a/test/ejabberd_SUITE.erl +++ b/test/ejabberd_SUITE.erl @@ -1688,7 +1688,8 @@ mam_query_all(Config, NS) -> body = [Text]}]}]}]}) end, Iter), if NS == ?NS_MAM_TMP -> - ?recv1(#iq{type = result, id = I, sub_els = []}); + ?recv1(#iq{type = result, id = I, + sub_els = [#mam_query{xmlns = NS, id = QID}]}); true -> ?recv1(#message{sub_els = [#mam_fin{complete = true, id = QID}]}) end. @@ -1724,7 +1725,8 @@ mam_query_with(Config, JID, NS) -> body = [Text]}]}]}]}) end, Iter), if NS == ?NS_MAM_TMP -> - ?recv1(#iq{type = result, id = I, sub_els = []}); + ?recv1(#iq{type = result, id = I, + sub_els = [#mam_query{xmlns = NS}]}); true -> ?recv1(#message{sub_els = [#mam_fin{complete = true}]}) end. |