aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-17 16:16:28 +0200
committerChocobozzz <me@florianbigard.com>2022-06-17 16:23:13 +0200
commit5e0dbb3e52797cdea7a9069a9dd605c8f84034dd (patch)
treed885f6f1e20c201d7493cd0cd7220416f5a71d01 /server/tests
parent82eb78504ff6b8ed06aa28de48930fe0f21541fe (diff)
downloadPeerTube-5e0dbb3e52797cdea7a9069a9dd605c8f84034dd.tar.gz
PeerTube-5e0dbb3e52797cdea7a9069a9dd605c8f84034dd.tar.zst
PeerTube-5e0dbb3e52797cdea7a9069a9dd605c8f84034dd.zip
Fix users stats
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/stats.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts
index a9ae236fb..6654eaaee 100644
--- a/server/tests/api/server/stats.ts
+++ b/server/tests/api/server/stats.ts
@@ -10,6 +10,8 @@ import {
10 doubleFollow, 10 doubleFollow,
11 PeerTubeServer, 11 PeerTubeServer,
12 setAccessTokensToServers, 12 setAccessTokensToServers,
13 setDefaultAccountAvatar,
14 setDefaultChannelAvatar,
13 waitJobs 15 waitJobs
14} from '@shared/server-commands' 16} from '@shared/server-commands'
15 17
@@ -29,6 +31,8 @@ describe('Test stats (excluding redundancy)', function () {
29 servers = await createMultipleServers(3) 31 servers = await createMultipleServers(3)
30 32
31 await setAccessTokensToServers(servers) 33 await setAccessTokensToServers(servers)
34 await setDefaultChannelAvatar(servers)
35 await setDefaultAccountAvatar(servers)
32 36
33 await doubleFollow(servers[0], servers[1]) 37 await doubleFollow(servers[0], servers[1])
34 38