Revert "MM-57759: Bump mockery to version 2.42.2 to support go 1.22^" (#26772)

Этот коммит содержится в:
Agniva De Sarker
2024-04-12 19:01:24 +05:30
коммит произвёл GitHub
родитель c76a58b4b8
Коммит cd3b5b46e1
84 изменённых файлов: 504 добавлений и 5378 удалений

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

@@ -1,4 +1,4 @@
// Code generated by mockery v2.42.2. DO NOT EDIT.
// Code generated by mockery v2.32.2. DO NOT EDIT.
// Regenerate this file using `make platform-mocks`.
@@ -20,10 +20,6 @@ type SuiteIFace struct {
func (_m *SuiteIFace) GetSession(token string) (*model.Session, *model.AppError) {
ret := _m.Called(token)
if len(ret) == 0 {
panic("no return value specified for GetSession")
}
var r0 *model.Session
var r1 *model.AppError
if rf, ok := ret.Get(0).(func(string) (*model.Session, *model.AppError)); ok {
@@ -52,10 +48,6 @@ func (_m *SuiteIFace) GetSession(token string) (*model.Session, *model.AppError)
func (_m *SuiteIFace) RolesGrantPermission(roleNames []string, permissionId string) bool {
ret := _m.Called(roleNames, permissionId)
if len(ret) == 0 {
panic("no return value specified for RolesGrantPermission")
}
var r0 bool
if rf, ok := ret.Get(0).(func([]string, string) bool); ok {
r0 = rf(roleNames, permissionId)
@@ -70,10 +62,6 @@ func (_m *SuiteIFace) RolesGrantPermission(roleNames []string, permissionId stri
func (_m *SuiteIFace) UserCanSeeOtherUser(c request.CTX, userID string, otherUserId string) (bool, *model.AppError) {
ret := _m.Called(c, userID, otherUserId)
if len(ret) == 0 {
panic("no return value specified for UserCanSeeOtherUser")
}
var r0 bool
var r1 *model.AppError
if rf, ok := ret.Get(0).(func(request.CTX, string, string) (bool, *model.AppError)); ok {