Bump golangci version to v1.38.0 (#17154)
* Update golangci to v1.38.0 Co-authored-by: Claudio Costa <cstcld91@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2d0f5f910a
Коммит
ccc7365ac3
@@ -260,8 +260,7 @@ func TestUpdatePostEditAt(t *testing.T) {
|
||||
th := Setup(t).InitBasic()
|
||||
defer th.TearDown()
|
||||
|
||||
post := &model.Post{}
|
||||
post = th.BasicPost.Clone()
|
||||
post := th.BasicPost.Clone()
|
||||
|
||||
post.IsPinned = true
|
||||
saved, err := th.App.UpdatePost(post, true)
|
||||
@@ -283,8 +282,7 @@ func TestUpdatePostTimeLimit(t *testing.T) {
|
||||
th := Setup(t).InitBasic()
|
||||
defer th.TearDown()
|
||||
|
||||
post := &model.Post{}
|
||||
post = th.BasicPost.Clone()
|
||||
post := th.BasicPost.Clone()
|
||||
|
||||
th.App.Srv().SetLicense(model.NewTestLicense())
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user