From b066b6df138e88e75cb40f1ec3e58fbd13e61909 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 12 Sep 2017 09:19:52 -0500 Subject: Remove global app references (#7433) * remove global app references * test fix * fix api4 test compilation --- app/authorization_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/authorization_test.go') 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 -- cgit v1.2.3-1-g7c22