+ it('Should hide muted accounts', async function () {
+ const token = await server.users.generateUserAndToken('choco')
+
+ await server.blocklist.addToMyBlocklist({ token, account: 'root@' + server.host })
+
+ {
+ const body = await server.overviews.getVideos({ page: 1 })
+
+ testOverviewCount(body, 1)
+ }
+
+ {
+ const body = await server.overviews.getVideos({ page: 1, token })
+
+ testOverviewCount(body, 0)
+ }
+ })
+