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 2bf8b2a65..72ad6a92b 100644
--- a/model/user_test.go
+++ b/model/user_test.go
@@ -287,11 +287,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()
}