summaryrefslogtreecommitdiffstats
path: root/app/apptestlib.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/apptestlib.go')
-rw-r--r--app/apptestlib.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/apptestlib.go b/app/apptestlib.go
index f42529c20..0c7086c64 100644
--- a/app/apptestlib.go
+++ b/app/apptestlib.go
@@ -75,6 +75,14 @@ func (me *TestHelper) InitBasic() *TestHelper {
return me
}
+func (me *TestHelper) MakeUsername() string {
+ return "un_" + model.NewId()
+}
+
+func (me *TestHelper) MakeEmail() string {
+ return "success_" + model.NewId() + "@simulator.amazonses.com"
+}
+
func (me *TestHelper) CreateTeam() *model.Team {
id := model.NewId()
team := &model.Team{