diff --git a/xmpp/client_test.go b/xmpp/client_test.go index 704bfcf..0c6c216 100644 --- a/xmpp/client_test.go +++ b/xmpp/client_test.go @@ -81,11 +81,8 @@ func handlerConnectSuccess(t *testing.T, c net.Conn) { // We expect client will abort on TLS func handlerAbortTLS(t *testing.T, c net.Conn) { decoder := xml.NewDecoder(c) - checkOpenStream(t, c, decoder) - sendStreamFeatures(t, c, decoder) // Send initial features - readAuth(t, decoder) } func checkOpenStream(t *testing.T, c net.Conn, decoder *xml.Decoder) {