summaryrefslogtreecommitdiffstats
path: root/store/storetest/post_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/storetest/post_store.go')
-rw-r--r--store/storetest/post_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/storetest/post_store.go b/store/storetest/post_store.go
index da1b069a2..b3a7e8d12 100644
--- a/store/storetest/post_store.go
+++ b/store/storetest/post_store.go
@@ -1022,7 +1022,7 @@ func testUserCountsWithPostsByDay(t *testing.T, ss store.Store) {
t1 := &model.Team{}
t1.DisplayName = "DisplayName"
t1.Name = "zz" + model.NewId() + "b"
- t1.Email = model.NewId() + "@nowhere.com"
+ t1.Email = MakeEmail()
t1.Type = model.TEAM_OPEN
t1 = store.Must(ss.Team().Save(t1)).(*model.Team)
@@ -1080,7 +1080,7 @@ func testPostCountsByDay(t *testing.T, ss store.Store) {
t1 := &model.Team{}
t1.DisplayName = "DisplayName"
t1.Name = "zz" + model.NewId() + "b"
- t1.Email = model.NewId() + "@nowhere.com"
+ t1.Email = MakeEmail()
t1.Type = model.TEAM_OPEN
t1 = store.Must(ss.Team().Save(t1)).(*model.Team)