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:
parent
2269d290d8
commit
2afdde84ea
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user