summaryrefslogtreecommitdiffstats
path: root/api4
diff options
context:
space:
mode:
Diffstat (limited to 'api4')
-rw-r--r--api4/plugin_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/api4/plugin_test.go b/api4/plugin_test.go
index f9b0f5a07..9500b2019 100644
--- a/api4/plugin_test.go
+++ b/api4/plugin_test.go
@@ -114,6 +114,10 @@ func TestPlugin(t *testing.T) {
CheckBadRequestStatus(t, resp)
assert.False(t, ok)
+ ok, resp = th.SystemAdminClient.EnablePlugin("JUNK")
+ CheckBadRequestStatus(t, resp)
+ assert.False(t, ok)
+
// Successful deactivate
ok, resp = th.SystemAdminClient.DisablePlugin(manifest.Id)
CheckNoError(t, resp)