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