[GH-19267] Spelling comments (#19268)
* spelling: comments Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
@@ -120,7 +120,7 @@ func TestAdjustProfileImage(t *testing.T) {
|
||||
assert.True(t, adjusted.Len() > 0)
|
||||
assert.NotEqual(t, testjpg, adjusted)
|
||||
|
||||
// default image should require adjustement
|
||||
// default image should require adjustment
|
||||
user := th.BasicUser
|
||||
image, err := th.App.GetDefaultProfileImage(user)
|
||||
require.Nil(t, err)
|
||||
@@ -524,7 +524,7 @@ func TestUpdateUserEmail(t *testing.T) {
|
||||
tokens, err = th.App.Srv().Store.Token().GetAllTokensByType(TokenTypeVerifyEmail)
|
||||
// We verify the same conditions as the earlier function,
|
||||
// but we also need to ensure that this is not the same token
|
||||
// as before, which is possible if the token updation goroutine
|
||||
// as before, which is possible if the token update goroutine
|
||||
// hasn't yet run.
|
||||
return err == nil && len(tokens) == 1 && tokens[0].Token != firstToken.Token
|
||||
}, 100*time.Millisecond, 10*time.Millisecond)
|
||||
|
||||
Ссылка в новой задаче
Block a user