1
0

Other: Match any case in IMAP/SMTP auth, with test

This commit is contained in:
James Houlahan
2022-10-13 11:02:43 +02:00
parent 23d3e54ddb
commit 7fe2c094a9
4 changed files with 17 additions and 2 deletions

View File

@ -45,6 +45,12 @@ func (s *scenario) imapClientCanAuthenticate(clientID string) error {
return client.Login(s.t.getUserAddrs(userID)[0], s.t.getUserBridgePass(userID))
}
func (s *scenario) imapClientCanAuthenticateWithAddress(clientID string, address string) error {
userID, client := s.t.getIMAPClient(clientID)
return client.Login(address, s.t.getUserBridgePass(userID))
}
func (s *scenario) imapClientCannotAuthenticate(clientID string) error {
userID, client := s.t.getIMAPClient(clientID)