summaryrefslogtreecommitdiffstats
path: root/api4/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/user_test.go')
-rw-r--r--api4/user_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/user_test.go b/api4/user_test.go
index b3fd83760..1067ebaf6 100644
--- a/api4/user_test.go
+++ b/api4/user_test.go
@@ -261,7 +261,7 @@ func TestCreateUserWithInviteId(t *testing.T) {
inviteId := model.NewId()
_, resp := Client.CreateUserWithInviteId(&user, inviteId)
- CheckInternalErrorStatus(t, resp)
+ CheckNotFoundStatus(t, resp)
CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.find.app_error")
})
@@ -283,7 +283,7 @@ func TestCreateUserWithInviteId(t *testing.T) {
CheckNoError(t, resp)
_, resp = Client.CreateUserWithInviteId(&user, inviteId)
- CheckInternalErrorStatus(t, resp)
+ CheckNotFoundStatus(t, resp)
CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.find.app_error")
})