diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-07-16 16:56:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 16:56:55 -0400 |
commit | f2c180390599e66fee2f1a8c1a4ab52eea920c51 (patch) | |
tree | b89a130b3b26d6a739eaa66dc2e06315970628ed /api4 | |
parent | 275731578e72d2c6e12cfb2fc315d3446474faec (diff) | |
download | chat-f2c180390599e66fee2f1a8c1a4ab52eea920c51.tar.gz chat-f2c180390599e66fee2f1a8c1a4ab52eea920c51.tar.bz2 chat-f2c180390599e66fee2f1a8c1a4ab52eea920c51.zip |
Make plugin IDs case insensitive (#9117)
Diffstat (limited to 'api4')
-rw-r--r-- | api4/plugin_test.go | 4 |
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) |