summaryrefslogtreecommitdiffstats
path: root/app/apptestlib.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/apptestlib.go')
-rw-r--r--app/apptestlib.go8
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
}