mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +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{
|
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},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue