From 8bf35081c80a56051037d0bc374e9fec3fb9529e Mon Sep 17 00:00:00 2001 From: =Corey Hulen Date: Thu, 10 Sep 2015 14:56:37 -0700 Subject: PLT-12 UI framework for admin console --- model/user_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'model/user_test.go') diff --git a/model/user_test.go b/model/user_test.go index 190e5826e..d9c1a00b6 100644 --- a/model/user_test.go +++ b/model/user_test.go @@ -210,4 +210,8 @@ func TestRoles(t *testing.T) { if !IsInRole("system_admin junk", "system_admin") { t.Fatal() } + + if IsInRole("admin", "system_admin") { + t.Fatal() + } } -- cgit v1.2.3-1-g7c22