mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Update expected error type in test
This commit is contained in:
parent
826387446a
commit
7f073fbcd8
@ -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).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user