aboutsummaryrefslogtreecommitdiff
path: root/test/mam_tests.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2019-04-30 17:35:25 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2019-04-30 17:35:25 +0200
commit2562f89005b366900b5ffe85e5810db96bf2937f (patch)
treeefbd1c093f4526004119142a8bff27e070d18c79 /test/mam_tests.erl
parentFix room state cleanup from db on change of persistent option change (diff)
Cleaner test cleanup
Diffstat (limited to '')
-rw-r--r--test/mam_tests.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mam_tests.erl b/test/mam_tests.erl
index bd189dc17..69afacd2e 100644
--- a/test/mam_tests.erl
+++ b/test/mam_tests.erl
@@ -317,11 +317,11 @@ mucsub_master(Config) ->
ct:comment("Retrieving messages from room mam storage"),
recv_messages_from_room(Config, lists:seq(1, 5)),
- muc_tests:leave(Config),
ct:comment("Cleaning up"),
put_event(Config, ready),
ready = get_event(Config),
+ muc_tests:leave(Config),
clean(disconnect(Config)).
mucsub_slave(Config) ->