summaryrefslogtreecommitdiffstats
path: root/integrations/user_test.go
diff options
context:
space:
mode:
authorbugreport0 <32939607+bugreport0@users.noreply.github.com>2018-02-25 14:56:25 +0100
committerLauris BH <lauris@nix.lv>2018-02-25 15:56:25 +0200
commit521945a2d2af421f365b5ed368833f0eb62bc0b9 (patch)
tree8064d1a85e69d0949a08ebd57f1b264f98677d17 /integrations/user_test.go
parentfc265b036f6441f8b738cf32c85fd1193b5dd2f0 (diff)
downloadgitea-521945a2d2af421f365b5ed368833f0eb62bc0b9.tar.gz
gitea-521945a2d2af421f365b5ed368833f0eb62bc0b9.zip
Fix missing translations when updating username. (#3564)
* Fix missing translations when updating username. * Fix reserved username translated string test. * Fix 'username reserved' string test a bit more.
Diffstat (limited to 'integrations/user_test.go')
-rw-r--r--integrations/user_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/user_test.go b/integrations/user_test.go
index da39234c3b..0b59663a4f 100644
--- a/integrations/user_test.go
+++ b/integrations/user_test.go
@@ -92,7 +92,7 @@ func TestRenameReservedUsername(t *testing.T) {
htmlDoc := NewHTMLParser(t, resp.Body)
assert.Contains(t,
htmlDoc.doc.Find(".ui.negative.message").Text(),
- i18n.Tr("en", "user.newName_reserved"),
+ i18n.Tr("en", "user.form.name_reserved", reservedUsername),
)
models.AssertNotExistsBean(t, &models.User{Name: reservedUsername})