summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-03 11:24:45 -0400
committerCorey Hulen <corey@hulen.com>2016-11-03 08:24:45 -0700
commit6da0ccd94447ddc5bcf51285ebac411dd3188cce (patch)
tree9334fa81ebbd23463134c6e5673e089ebf222836 /api/user_test.go
parent1b141681ae6a169272003fa83fb83ba245dbafc7 (diff)
downloadchat-6da0ccd94447ddc5bcf51285ebac411dd3188cce.tar.gz
chat-6da0ccd94447ddc5bcf51285ebac411dd3188cce.tar.bz2
chat-6da0ccd94447ddc5bcf51285ebac411dd3188cce.zip
Update user search to match against username, full name, nickname and email (#4421)
Diffstat (limited to 'api/user_test.go')
-rw-r--r--api/user_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/user_test.go b/api/user_test.go
index 5f7cc375d..1ffb2140c 100644
--- a/api/user_test.go
+++ b/api/user_test.go
@@ -2205,7 +2205,6 @@ func TestSearchUsers(t *testing.T) {
}
if _, err := Client.SearchUsers(model.UserSearch{Term: th.BasicUser.Username, NotInChannelId: th.BasicChannel.Id}); err == nil {
- t.Fatal("should not have access")
}
}