diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-03-29 16:04:54 +0200 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2018-03-29 10:04:54 -0400 |
commit | 014a3b6a60610ba592c5843080686f4481553136 (patch) | |
tree | 883ac2be9c96de5a8c4f34b2881da84c1fd65e21 /app/authorization_test.go | |
parent | eb48292a3a69ac5ffac91cdb0c5e5349ae8f85eb (diff) | |
download | chat-014a3b6a60610ba592c5843080686f4481553136.tar.gz chat-014a3b6a60610ba592c5843080686f4481553136.tar.bz2 chat-014a3b6a60610ba592c5843080686f4481553136.zip |
Fixing misspell errors (#8544)
Diffstat (limited to 'app/authorization_test.go')
-rw-r--r-- | app/authorization_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/authorization_test.go b/app/authorization_test.go index 2127a682e..1900c9f41 100644 --- a/app/authorization_test.go +++ b/app/authorization_test.go @@ -19,7 +19,7 @@ func TestCheckIfRolesGrantPermission(t *testing.T) { shouldGrant bool }{ {[]string{model.SYSTEM_ADMIN_ROLE_ID}, model.PERMISSION_MANAGE_SYSTEM.Id, true}, - {[]string{model.SYSTEM_ADMIN_ROLE_ID}, "non-existant-permission", false}, + {[]string{model.SYSTEM_ADMIN_ROLE_ID}, "non-existent-permission", false}, {[]string{model.CHANNEL_USER_ROLE_ID}, model.PERMISSION_READ_CHANNEL.Id, true}, {[]string{model.CHANNEL_USER_ROLE_ID}, model.PERMISSION_MANAGE_SYSTEM.Id, false}, {[]string{model.SYSTEM_ADMIN_ROLE_ID, model.CHANNEL_USER_ROLE_ID}, model.PERMISSION_MANAGE_SYSTEM.Id, true}, |