mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 13:50:49 +01:00
Update auth_test.go to cover the new response
This commit is contained in:
parent
6a446bd4bd
commit
8f96251ebf
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue