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{
{
LoginAuth("user", "pass", "testserver"),
[]string{"Username:", "Password:", "2.7.0 Authentication successful", "Invalid:"},
[]string{"Username:", "Password:", "Invalid:"},
"LOGIN",
[]string{"", "user", "pass", "", ""},
[]bool{false, false, false, true},
[]string{"", "user", "pass", ""},
[]bool{false, false, true},
},
}