diff options
Diffstat (limited to 'app/apptestlib.go')
-rw-r--r-- | app/apptestlib.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/apptestlib.go b/app/apptestlib.go index 12b01c5e5..48783f49c 100644 --- a/app/apptestlib.go +++ b/app/apptestlib.go @@ -463,6 +463,14 @@ func (me *TestHelper) SetupChannelScheme() *model.Scheme { } } +func (me *TestHelper) SetupPluginAPI() *PluginAPI { + manifest := &model.Manifest{ + Id: "pluginid", + } + + return NewPluginAPI(me.App, manifest) +} + type FakeClusterInterface struct { clusterMessageHandler einterfaces.ClusterMessageHandler } |