Skip to content

Node.js based forum software built for the modern web

change test method call

Barış Soner Uşaklı769d2b00b1fc
diff --git a/test/user.js b/test/user.js
index 6f5b2e3150..fd1d720ab5 100644
--- a/test/user.js
+++ b/test/user.js
@@ -292,7 +292,8 @@ describe('User', function () {
User.create({ username: 'bzari' }, next);
},
function (uid, next) {
- socketUser.search({ uid: testUid }, {
+ User.search({
+ uid: testUid,
query: 'b',
sortBy: 'username',
paginate: false,