mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FIX: exact group match always should be added
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import userSearch from 'discourse/lib/user-search';
|
||||
|
||||
module("lib:user-search");
|
||||
|
||||
test("it places groups unconditionally for exact match", function() {
|
||||
return userSearch({term: 'team'}).then((results)=>{
|
||||
equal(results[results.length-1]["name"], "team");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user