summaryrefslogtreecommitdiffstats
path: root/model/user_test.go
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-09-10 14:56:37 -0700
committer=Corey Hulen <corey@hulen.com>2015-09-10 14:56:37 -0700
commit8bf35081c80a56051037d0bc374e9fec3fb9529e (patch)
treedf5bad1c0b9448ed02b475125ed618b3872a5078 /model/user_test.go
parente54d0da392119e75788f3d5a431b85e931a7e824 (diff)
downloadchat-8bf35081c80a56051037d0bc374e9fec3fb9529e.tar.gz
chat-8bf35081c80a56051037d0bc374e9fec3fb9529e.tar.bz2
chat-8bf35081c80a56051037d0bc374e9fec3fb9529e.zip
PLT-12 UI framework for admin console
Diffstat (limited to 'model/user_test.go')
-rw-r--r--model/user_test.go4
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()
+ }
}