Update auth_test.go to cover the new response

This commit is contained in:
Winni Neessen 2022-03-20 19:31:30 +01:00
parent 6a446bd4bd
commit 8f96251ebf
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

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