unparam lint (#16927)
* fix "always receives ..." lint err * add unparam lint check * fix failed test * rm details param * ignore unparam lint * magic string replaced with model.NewRandomString * rm unused enableComplianceFeatures param * generate random message inside createPost Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4c5ea07aff
Коммит
62fa7b9350
@@ -225,7 +225,7 @@ func TestSendMailUsingConfigAdvanced(t *testing.T) {
|
||||
mimeHeaders: headers,
|
||||
}
|
||||
|
||||
err = sendMailUsingConfigAdvanced(mail, cfg, true)
|
||||
err = sendMailUsingConfigAdvanced(mail, cfg)
|
||||
require.NoError(t, err, "Should connect to the STMP Server: %v", err)
|
||||
|
||||
//Check if the email was send to the right email address
|
||||
|
||||
Ссылка в новой задаче
Block a user