[MM-27535] Change string to be more in-line with designs and the front end verbiage (#15320)
* Change string to be more in-line with designs and the front end verbiage * Tweak tests to have the new string * fix eetests
Этот коммит содержится в:
@@ -2737,9 +2737,9 @@ func TestInviteUsersToTeamWithUserLimit(t *testing.T) {
|
||||
CheckNoError(t, resp)
|
||||
require.Len(t, invitesWithErrors, 2)
|
||||
require.NotNil(t, invitesWithErrors[0].Error)
|
||||
assert.Equal(t, invitesWithErrors[0].Error.Message, "You've reached the user limit of your current tier")
|
||||
assert.Equal(t, invitesWithErrors[0].Error.Message, "You've reached the free tier user limit")
|
||||
require.NotNil(t, invitesWithErrors[1].Error)
|
||||
assert.Equal(t, invitesWithErrors[1].Error.Message, "You've reached the user limit of your current tier")
|
||||
assert.Equal(t, invitesWithErrors[1].Error.Message, "You've reached the free tier user limit")
|
||||
})
|
||||
|
||||
t.Run("Regular user, invite when at limit should succeed", func(t *testing.T) {
|
||||
@@ -2760,7 +2760,7 @@ func TestInviteUsersToTeamWithUserLimit(t *testing.T) {
|
||||
require.Len(t, invitesWithErrors, 2)
|
||||
require.Nil(t, invitesWithErrors[0].Error)
|
||||
require.NotNil(t, invitesWithErrors[1].Error)
|
||||
assert.Equal(t, invitesWithErrors[1].Error.Message, "You've reached the user limit of your current tier")
|
||||
assert.Equal(t, invitesWithErrors[1].Error.Message, "You've reached the free tier user limit")
|
||||
|
||||
})
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user