fix: failed UT

pull/1741/head 3.8.0
Aaron Liu 2023-06-11 09:50:57 +08:00
parent 1d52ddd93a
commit 243c312066
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ type WopiClientMock struct {
mock.Mock
}
func (w *WopiClientMock) NewSession(user *model.User, file *model.File, action wopi.ActonType) (*wopi.Session, error) {
func (w *WopiClientMock) NewSession(user uint, file *model.File, action wopi.ActonType) (*wopi.Session, error) {
args := w.Called(user, file, action)
return args.Get(0).(*wopi.Session), args.Error(1)
}