Fix auth_test.go accordingly

Removed "2.7.0 Authentication successful" challenge since this should never be sent with `more == true`.
This commit is contained in:
Winni Neessen 2023-01-07 11:48:59 +01:00
parent 862749f863
commit 39a9949e78
Signed by: wneessen
GPG key ID: 385AC9889632126E

View file

@ -22,10 +22,10 @@ func TestAuth(t *testing.T) {
authTests := []authTest{ authTests := []authTest{
{ {
LoginAuth("user", "pass", "testserver"), LoginAuth("user", "pass", "testserver"),
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"}, []string{"Username:", "Password:", "Invalid:"},
"LOGIN", "LOGIN",
[]string{"", "user", "pass", "", ""}, []string{"", "user", "pass", ""},
[]bool{false, false, false, true}, []bool{false, false, true},
}, },
} }