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>
Этот коммит содержится в:
Haardik Dharma
2021-04-28 20:13:41 +05:30
коммит произвёл GitHub
родитель 2d0f5f910a
Коммит ccc7365ac3
20 изменённых файлов: 28 добавлений и 24 удалений

Просмотреть файл

@@ -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())