diff options
author | Chris <ccbrown112@gmail.com> | 2017-09-12 09:19:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-12 09:19:52 -0500 |
commit | b066b6df138e88e75cb40f1ec3e58fbd13e61909 (patch) | |
tree | 7ee0e8c935cd3bbafd15d0d07d8900af8b82a4e0 /app/authorization_test.go | |
parent | 674a606bd00b276d0a05b3b29a3d5f5e5e7f8206 (diff) | |
download | chat-b066b6df138e88e75cb40f1ec3e58fbd13e61909.tar.gz chat-b066b6df138e88e75cb40f1ec3e58fbd13e61909.tar.bz2 chat-b066b6df138e88e75cb40f1ec3e58fbd13e61909.zip |
Remove global app references (#7433)
* remove global app references
* test fix
* fix api4 test compilation
Diffstat (limited to 'app/authorization_test.go')
-rw-r--r-- | app/authorization_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/authorization_test.go b/app/authorization_test.go index 6ff5d551b..279bf17dc 100644 --- a/app/authorization_test.go +++ b/app/authorization_test.go @@ -10,8 +10,7 @@ import ( ) func TestCheckIfRolesGrantPermission(t *testing.T) { - a := Global() - a.Setup() + Setup() cases := []struct { roles []string |