Adapt test to changed error

This commit is contained in:
Paweł Chmielowski 2017-11-27 11:12:46 +01:00
parent 783ebd1080
commit b072342aa9
1 changed files with 1 additions and 1 deletions

View File

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