From 5398c82e1b80c3160974e01afabbfd1c2a2420a7 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Tue, 18 Apr 2017 17:37:25 -0400 Subject: Revert "Usernames must start with a letter (#5581)" This reverts commit 2e911b77c3386833f8f0cea82c7b6b3e5583a08e. --- store/sql_compliance_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'store/sql_compliance_store_test.go') diff --git a/store/sql_compliance_store_test.go b/store/sql_compliance_store_test.go index 7fb772c9c..eac7dce3c 100644 --- a/store/sql_compliance_store_test.go +++ b/store/sql_compliance_store_test.go @@ -75,13 +75,13 @@ func TestComplianceExport(t *testing.T) { u1 := &model.User{} u1.Email = model.NewId() - u1.Username = "n" + model.NewId() + u1.Username = model.NewId() u1 = Must(store.User().Save(u1)).(*model.User) Must(store.Team().SaveMember(&model.TeamMember{TeamId: t1.Id, UserId: u1.Id})) u2 := &model.User{} u2.Email = model.NewId() - u2.Username = "n" + model.NewId() + u2.Username = model.NewId() u2 = Must(store.User().Save(u2)).(*model.User) Must(store.Team().SaveMember(&model.TeamMember{TeamId: t1.Id, UserId: u2.Id})) -- cgit v1.2.3-1-g7c22