Skip to content

Commit 4473d83

Browse files
committed
Reproduce muc namespace issue in tests
1 parent 7ab5aeb commit 4473d83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

big_tests/tests/muc_SUITE.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5330,6 +5330,8 @@ was_room_destroyed(Query) ->
53305330
was_room_created(Stanza) ->
53315331
timer:sleep(?WAIT_TIME),
53325332
has_status_codes(Stanza, [<<"201">>, <<"110">>]),
5333+
Namespaces = exml_query:paths(Stanza, [{element, <<"x">>}, {attr, <<"xmlns">>}]),
5334+
true = lists:member(?NS_MUC_USER, Namespaces),
53335335
[<<"owner">>] = exml_query:paths(Stanza, [{element, <<"x">>},
53345336
{element, <<"item">>},
53355337
{attr, <<"affiliation">>}]),

0 commit comments

Comments
 (0)