25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Adopt tests to changes in xmpp

This commit is contained in:
Paweł Chmielowski 2018-01-25 18:23:47 +01:00
parent 2269d290d8
commit 2afdde84ea

View File

@ -997,17 +997,17 @@ private(Config) ->
WrongEl = #xmlel{name = <<"wrong">>},
#iq{type = error} =
send_recv(Config, #iq{type = get,
sub_els = [#private{xml_els = [WrongEl]}]}),
sub_els = [#private{sub_els = [WrongEl]}]}),
#iq{type = result, sub_els = []} =
send_recv(
Config, #iq{type = set,
sub_els = [#private{xml_els = [WrongEl, StorageXMLOut]}]}),
sub_els = [#private{sub_els = [WrongEl, StorageXMLOut]}]}),
#iq{type = result,
sub_els = [#private{xml_els = [StorageXMLIn]}]} =
sub_els = [#private{sub_els = [StorageXMLIn]}]} =
send_recv(
Config,
#iq{type = get,
sub_els = [#private{xml_els = [xmpp:encode(
sub_els = [#private{sub_els = [xmpp:encode(
#bookmark_storage{})]}]}),
Storage = xmpp:decode(StorageXMLIn),
disconnect(Config).