From 804dd6d57ca31d68e66d7bc5b1be8eb055aaae38 Mon Sep 17 00:00:00 2001 From: Eric Chiang Date: Wed, 2 Mar 2016 18:13:32 -0800 Subject: [PATCH] integration: fix email case sensitivity test --- integration/user_api_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/user_api_test.go b/integration/user_api_test.go index 8d553602..687d32f5 100644 --- a/integration/user_api_test.go +++ b/integration/user_api_test.go @@ -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,