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

Update expected error type in test

This commit is contained in:
Paweł Chmielowski 2017-12-21 11:43:09 +01:00
parent 826387446a
commit 7f073fbcd8

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 = 'invalid-xml'}), ?recv1(#stream_error{reason = 'not-well-formed'}),
?recv1({xmlstreamend, <<"stream:stream">>}), ?recv1({xmlstreamend, <<"stream:stream">>}),
close_socket(Config0). close_socket(Config0).