summaryrefslogtreecommitdiffstats
path: root/app/team_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/team_test.go')
-rw-r--r--app/team_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/team_test.go b/app/team_test.go
index 10f33f50b..084558fb4 100644
--- a/app/team_test.go
+++ b/app/team_test.go
@@ -69,7 +69,7 @@ func TestCreateTeamWithUser(t *testing.T) {
t.Log(err.Message)
t.Fatal("Should not create a team with user when user has set email without domain")
} else {
- if err.Message != "model.team.is_valid.email.app_error" {
+ if err.Id != "model.team.is_valid.email.app_error" {
t.Log(err)
t.Fatal("Invalid error message")
}