Skip to content

Commit

Permalink
Additional test updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Darin Krauss committed Apr 21, 2017
1 parent df9e061 commit fe71b12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user/user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,9 @@ func Test_NewUserDetails_HasRole_Multiple(t *testing.T) {
if !details.HasRole("clinic") {
t.Fatalf("HasRole returned false when should have returned true")
}
if !details.HasRole("other") {
t.Fatalf("HasRole returned false when should have returned true")
}
if details.HasRole("missing") {
t.Fatalf("HasRole returned true when should have returned false")
}
Expand Down

0 comments on commit fe71b12

Please sign in to comment.