Automatic Merge
Этот коммит содержится в:
Guillermo Vayá
2026-03-20 12:30:54 +01:00
коммит произвёл GitHub
родитель 8ef7f78d8d
Коммит 532f2882d1
10 изменённых файлов: 413 добавлений и 18 удалений

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

@@ -275,6 +275,8 @@ func TestCreatePost(t *testing.T) {
require.Error(t, err)
CheckUnauthorizedStatus(t, resp)
assert.Nil(t, rpost)
th.LoginBasic()
})
t.Run("should prevent creating post with files when user lacks upload_file permission in target channel", func(t *testing.T) {