+ it('Should hide muted accounts', async function () {
+ const token = await generateUserAccessToken(server, 'choco')
+
+ await addAccountToAccountBlocklist(server.url, token, 'root@' + server.host)
+
+ {
+ const body = await server.overviewsCommand.getVideos({ page: 1 })
+
+ testOverviewCount(body, 1)
+ }
+
+ {
+ const body = await server.overviewsCommand.getVideos({ page: 1, token })
+
+ testOverviewCount(body, 0)
+ }
+ })
+