From 083b9c775525699d77e5fe3dbdd872db19d60c59 Mon Sep 17 00:00:00 2001 From: Mickael Remond Date: Sat, 21 Oct 2017 15:23:11 +0200 Subject: [PATCH] Do not expect authentication when client forbid insecure auth --- xmpp/client_test.go | 3 --- 1 file changed, 3 deletions(-) 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) {