Skip to content

Commit

Permalink
fix: failed UT
Browse files Browse the repository at this point in the history
  • Loading branch information
HFO4 committed Jun 11, 2023
1 parent 1d52ddd commit 243c312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mocks/wopimock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 243c312

Please sign in to comment.