mirror of
https://github.com/wneessen/go-mail.git
synced 2024-12-22 18:50:37 +01:00
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:
parent
862749f863
commit
39a9949e78
1 changed files with 3 additions and 3 deletions
|
@ -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},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue