From 93d083624125cdcb51769cefe781756b5ed4b760 Mon Sep 17 00:00:00 2001 From: Ikuyo Date: Tue, 23 Jul 2024 08:18:20 +0500 Subject: [PATCH 1/3] Reserve devtest username --- models/user/user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/user/user.go b/models/user/user.go index 16b0f16243..69cd85a207 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -586,6 +586,7 @@ var ( "captcha", "commits", "debug", + "devtest", "error", "explore", "favicon.ico", From 90c0e9dace0dcf837a5cf07a19ef782ba5b2e5c0 Mon Sep 17 00:00:00 2001 From: Ikuyo Date: Tue, 23 Jul 2024 08:38:55 +0500 Subject: [PATCH 2/3] Add devtest in reserved usernames test --- tests/integration/user_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index ae6d6a48c0..bcabb762d6 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -110,6 +110,7 @@ func TestRenameReservedUsername(t *testing.T) { "captcha", "commits", "debug", + "devtest" "error", "explore", "favicon.ico", From 859cc23dc2b79e6ddbdbceb39e47c81fbbc46ad4 Mon Sep 17 00:00:00 2001 From: Ikuyo Date: Tue, 23 Jul 2024 11:04:57 +0500 Subject: [PATCH 3/3] Add missing trailing comma --- tests/integration/user_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/user_test.go b/tests/integration/user_test.go index bcabb762d6..20b1cdf975 100644 --- a/tests/integration/user_test.go +++ b/tests/integration/user_test.go @@ -110,7 +110,7 @@ func TestRenameReservedUsername(t *testing.T) { "captcha", "commits", "debug", - "devtest" + "devtest", "error", "explore", "favicon.ico",