From 2e911b77c3386833f8f0cea82c7b6b3e5583a08e Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 3 Mar 2017 12:04:15 -0500 Subject: Usernames must start with a letter (#5581) --- 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 b7b270a42..25b6f2dce 100644 --- a/store/sql_compliance_store_test.go +++ b/store/sql_compliance_store_test.go @@ -59,13 +59,13 @@ func TestComplianceExport(t *testing.T) { u1 := &model.User{} u1.Email = model.NewId() - u1.Username = model.NewId() + u1.Username = "n" + 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 = model.NewId() + u2.Username = "n" + 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