summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-21 12:13:34 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-21 12:13:34 +0300
commit507e756b69190ec1676a677b6a4a07b129f77cba (patch)
tree813bfcf43fa69e5b623288c933e98628181ff61e /test
parentDon't forget to start XMPP application (diff)
Do not send empty <after/> tag
Diffstat (limited to 'test')
-rw-r--r--test/mam_tests.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mam_tests.erl b/test/mam_tests.erl
index 9154ea24..d628ddd2 100644
--- a/test/mam_tests.erl
+++ b/test/mam_tests.erl
@@ -513,7 +513,8 @@ query_rsm_after(Config, From, To, NS) ->
#rsm_set{count = 5, first = First} =
recv_fin(Config, ID, QID, NS, true),
First
- end, #rsm_first{}, [lists:seq(N, 5) || N <- lists:seq(1, 6)]).
+ end, #rsm_first{data = undefined},
+ [lists:seq(N, 5) || N <- lists:seq(1, 6)]).
query_rsm_before(Config, From, To) ->
lists:foreach(