summaryrefslogtreecommitdiffstats
path: root/model/user_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/user_test.go')
-rw-r--r--model/user_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/model/user_test.go b/model/user_test.go
index c91051532..5f97b3ff2 100644
--- a/model/user_test.go
+++ b/model/user_test.go
@@ -263,11 +263,11 @@ func TestCleanUsername(t *testing.T) {
func TestRoles(t *testing.T) {
- if IsValidUserRoles("admin") {
+ if !IsValidUserRoles("team_user") {
t.Fatal()
}
- if IsValidUserRoles("junk") {
+ if IsValidUserRoles("system_admin") {
t.Fatal()
}