MM-57759: Bump mockery to version 2.42.2 to support go 1.22^ (#26761)
Этот коммит содержится в:
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user