25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Adapt test to changed error

This commit is contained in:
Paweł Chmielowski 2017-11-27 11:12:46 +01:00
parent 783ebd1080
commit b072342aa9

View File

@ -562,7 +562,7 @@ test_connect_bad_xml(Config) ->
send_text(Config0, <<"<'/>">>), send_text(Config0, <<"<'/>">>),
Version = ?config(stream_version, Config0), Version = ?config(stream_version, Config0),
?recv1(#stream_start{version = Version}), ?recv1(#stream_start{version = Version}),
?recv1(#stream_error{reason = 'not-well-formed'}), ?recv1(#stream_error{reason = 'invalid-xml'}),
?recv1({xmlstreamend, <<"stream:stream">>}), ?recv1({xmlstreamend, <<"stream:stream">>}),
close_socket(Config0). close_socket(Config0).