integration: fix email case sensitivity test
This commit is contained in:
parent
c92aae647c
commit
804dd6d57c
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ import (
|
|||
"net/http"
|
||||
"net/http/httptest"
|
||||
"net/url"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
|
@ -747,7 +748,7 @@ func TestResendEmailInvitation(t *testing.T) {
|
|||
|
||||
wantEmalier := testEmailer{
|
||||
cantEmail: tt.cantEmail,
|
||||
lastEmail: tt.email,
|
||||
lastEmail: strings.ToLower(tt.email),
|
||||
lastClientID: "XXX",
|
||||
lastWasInvite: true,
|
||||
lastRedirectURL: *urlParsed,
|
||||
|
|
Reference in a new issue