From f2c180390599e66fee2f1a8c1a4ab52eea920c51 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 16 Jul 2018 16:56:55 -0400 Subject: Make plugin IDs case insensitive (#9117) --- api4/plugin_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'api4') 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) -- cgit v1.2.3-1-g7c22