aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search/search-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/search/search-channels.ts')
-rw-r--r--server/tests/api/search/search-channels.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/search/search-channels.ts b/server/tests/api/search/search-channels.ts
index 4d2104708..7035fbd62 100644
--- a/server/tests/api/search/search-channels.ts
+++ b/server/tests/api/search/search-channels.ts
@@ -19,15 +19,15 @@ describe('Test channels search', function () {
19 await setAccessTokensToServers([ server ]) 19 await setAccessTokensToServers([ server ])
20 20
21 { 21 {
22 await server.usersCommand.create({ username: 'user1', password: 'password' }) 22 await server.users.create({ username: 'user1', password: 'password' })
23 const channel = { 23 const channel = {
24 name: 'squall_channel', 24 name: 'squall_channel',
25 displayName: 'Squall channel' 25 displayName: 'Squall channel'
26 } 26 }
27 await server.channelsCommand.create({ attributes: channel }) 27 await server.channels.create({ attributes: channel })
28 } 28 }
29 29
30 command = server.searchCommand 30 command = server.search
31 }) 31 })
32 32
33 it('Should make a simple search and not have results', async function () { 33 it('Should make a simple search and not have results', async function () {