diff options
author | Chocobozzz <me@florianbigard.com> | 2021-03-24 10:58:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | 2e257e36b78b6f6b842f5ed8b4c79514e6e3a208 (patch) | |
tree | 17330548383cc1dad7197ca07e61ffe5223f7759 /server/tests/plugins | |
parent | 74a4d53110ebc073dafeb74a7ac815fe00f4706b (diff) | |
download | PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.tar.gz PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.tar.zst PeerTube-2e257e36b78b6f6b842f5ed8b4c79514e6e3a208.zip |
Add client action hooks for pubish pages
Diffstat (limited to 'server/tests/plugins')
-rw-r--r-- | server/tests/plugins/filter-hooks.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/plugins/filter-hooks.ts b/server/tests/plugins/filter-hooks.ts index 6f7fec767..ac958c5f5 100644 --- a/server/tests/plugins/filter-hooks.ts +++ b/server/tests/plugins/filter-hooks.ts | |||
@@ -2,6 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import * as chai from 'chai' | 4 | import * as chai from 'chai' |
5 | import { advancedVideoChannelSearch } from '@shared/extra-utils/search/video-channels' | ||
5 | import { ServerConfig } from '@shared/models' | 6 | import { ServerConfig } from '@shared/models' |
6 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' | 7 | import { HttpStatusCode } from '../../../shared/core-utils/miscs/http-error-codes' |
7 | import { | 8 | import { |
@@ -26,7 +27,6 @@ import { | |||
26 | installPlugin, | 27 | installPlugin, |
27 | makeRawRequest, | 28 | makeRawRequest, |
28 | registerUser, | 29 | registerUser, |
29 | searchVideo, | ||
30 | setAccessTokensToServers, | 30 | setAccessTokensToServers, |
31 | setDefaultVideoChannel, | 31 | setDefaultVideoChannel, |
32 | updateCustomSubConfig, | 32 | updateCustomSubConfig, |
@@ -46,7 +46,6 @@ import { | |||
46 | VideoPrivacy | 46 | VideoPrivacy |
47 | } from '../../../shared/models/videos' | 47 | } from '../../../shared/models/videos' |
48 | import { VideoCommentThreadTree } from '../../../shared/models/videos/video-comment.model' | 48 | import { VideoCommentThreadTree } from '../../../shared/models/videos/video-comment.model' |
49 | import { advancedVideoChannelSearch } from '@shared/extra-utils/search/video-channels' | ||
50 | 49 | ||
51 | const expect = chai.expect | 50 | const expect = chai.expect |
52 | 51 | ||