Add mocks, layers and generated as rules to the make file (#20585)

Этот коммит содержится в:
Tim Scheuermann
2022-07-05 18:39:31 +03:00
коммит произвёл GitHub
родитель b99bd0d049
Коммит 58fea61cc4
3 изменённых файлов: 10 добавлений и 4 удалений

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

@@ -202,11 +202,11 @@ func (_m *MockAppIface) FileReader(path string) (filestore.ReadCloseSeeker, *mod
// GetOrCreateDirectChannel provides a mock function with given fields: c, userId, otherUserId, channelOptions
func (_m *MockAppIface) GetOrCreateDirectChannel(c *request.Context, userId string, otherUserId string, channelOptions ...model.ChannelOption) (*model.Channel, *model.AppError) {
_va := make([]any, len(channelOptions))
_va := make([]interface{}, len(channelOptions))
for _i := range channelOptions {
_va[_i] = channelOptions[_i]
}
var _ca []any
var _ca []interface{}
_ca = append(_ca, c, userId, otherUserId)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)