diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/user_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
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() + } } |