Remove unused scope methods

This commit is contained in:
Pavel Škoda
2020-09-07 18:52:41 +02:00
committed by Michal Horejsek
parent f73aeec97f
commit 2e439e17cf
15 changed files with 30 additions and 51 deletions

View File

@ -45,7 +45,7 @@ func (ctx *TestContext) LoginUser(username, password, mailboxPassword string) (e
}
if auth.HasTwoFactor() {
if _, err := client.Auth2FA("2fa code", auth); err != nil {
if err := client.Auth2FA("2fa code", auth); err != nil {
return errors.Wrap(err, "failed to login with 2FA")
}
}