diff options
Diffstat (limited to 'integrations')
-rw-r--r-- | integrations/privateactivity_test.go | 2 | ||||
-rw-r--r-- | integrations/user_test.go | 4 | ||||
-rw-r--r-- | integrations/xss_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/integrations/privateactivity_test.go b/integrations/privateactivity_test.go index e9beb7c116..bfdc2ef53e 100644 --- a/integrations/privateactivity_test.go +++ b/integrations/privateactivity_test.go @@ -45,7 +45,7 @@ func testPrivateActivityHelperEnablePrivateActivity(t *testing.T) { "_csrf": GetCSRF(t, session, "/user/settings"), "name": privateActivityTestUser, "email": privateActivityTestUser + "@example.com", - "language": "en-us", + "language": "en-US", "keep_activity_private": "1", }) session.MakeRequest(t, req, http.StatusFound) diff --git a/integrations/user_test.go b/integrations/user_test.go index 999a182bfd..199d5e242f 100644 --- a/integrations/user_test.go +++ b/integrations/user_test.go @@ -30,7 +30,7 @@ func TestRenameUsername(t *testing.T) { "_csrf": GetCSRF(t, session, "/user/settings"), "name": "newUsername", "email": "user2@example.com", - "language": "en-us", + "language": "en-US", }) session.MakeRequest(t, req, http.StatusFound) @@ -100,7 +100,7 @@ func TestRenameReservedUsername(t *testing.T) { "_csrf": GetCSRF(t, session, "/user/settings"), "name": reservedUsername, "email": "user2@example.com", - "language": "en-us", + "language": "en-US", }) resp := session.MakeRequest(t, req, http.StatusFound) diff --git a/integrations/xss_test.go b/integrations/xss_test.go index 425165dccc..2d83e1e106 100644 --- a/integrations/xss_test.go +++ b/integrations/xss_test.go @@ -24,7 +24,7 @@ func TestXSSUserFullName(t *testing.T) { "name": user.Name, "full_name": fullName, "email": user.Email, - "language": "en-us", + "language": "en-US", }) session.MakeRequest(t, req, http.StatusFound) |