diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/user_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api4/user_test.go b/api4/user_test.go index 78693e05f..6cd64b7cf 100644 --- a/api4/user_test.go +++ b/api4/user_test.go @@ -259,7 +259,7 @@ func TestCreateUserWithInviteId(t *testing.T) { _, resp := Client.CreateUserWithInviteId(&user, inviteId) CheckNotFoundStatus(t, resp) - CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.find.app_error") + CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.finding.app_error") }) t.Run("NoInviteId", func(t *testing.T) { @@ -281,7 +281,7 @@ func TestCreateUserWithInviteId(t *testing.T) { _, resp = Client.CreateUserWithInviteId(&user, inviteId) CheckNotFoundStatus(t, resp) - CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.find.app_error") + CheckErrorMessage(t, resp, "store.sql_team.get_by_invite_id.finding.app_error") }) t.Run("EnableUserCreationDisable", func(t *testing.T) { |