diff options
Diffstat (limited to 'plugin/plugintest/api.go')
-rw-r--r-- | plugin/plugintest/api.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugin/plugintest/api.go b/plugin/plugintest/api.go index 32fab3595..531a0be4f 100644 --- a/plugin/plugintest/api.go +++ b/plugin/plugintest/api.go @@ -624,6 +624,20 @@ func (_m *API) GetReactions(postId string) ([]*model.Reaction, *model.AppError) return r0, r1 } +// GetServerVersion provides a mock function with given fields: +func (_m *API) GetServerVersion() string { + ret := _m.Called() + + var r0 string + if rf, ok := ret.Get(0).(func() string); ok { + r0 = rf() + } else { + r0 = ret.Get(0).(string) + } + + return r0 +} + // GetSession provides a mock function with given fields: sessionId func (_m *API) GetSession(sessionId string) (*model.Session, *model.AppError) { ret := _m.Called(sessionId) |