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

Этот коммит содержится в:
Ezekiel
2024-04-12 16:38:34 +08:00
коммит произвёл GitHub
родитель 92f11f8971
Коммит 98712737e6
84 изменённых файлов: 5378 добавлений и 504 удалений

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

@@ -1,4 +1,4 @@
// Code generated by mockery v2.32.2. DO NOT EDIT.
// Code generated by mockery v2.42.2. DO NOT EDIT.
// Regenerate this file using `make platform-mocks`.
@@ -20,6 +20,10 @@ 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 {
@@ -48,6 +52,10 @@ 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)
@@ -62,6 +70,10 @@ 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 {