diff options
Diffstat (limited to 'server/tests/external-plugins')
-rw-r--r-- | server/tests/external-plugins/akismet.ts | 4 | ||||
-rw-r--r-- | server/tests/external-plugins/auto-block-videos.ts | 2 | ||||
-rw-r--r-- | server/tests/external-plugins/auto-mute.ts | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/external-plugins/akismet.ts b/server/tests/external-plugins/akismet.ts index 974bf0011..e964bf0c2 100644 --- a/server/tests/external-plugins/akismet.ts +++ b/server/tests/external-plugins/akismet.ts | |||
@@ -138,14 +138,14 @@ describe('Official plugin Akismet', function () { | |||
138 | }) | 138 | }) |
139 | 139 | ||
140 | it('Should allow signup', async function () { | 140 | it('Should allow signup', async function () { |
141 | await servers[0].users.register({ | 141 | await servers[0].registrations.register({ |
142 | username: 'user1', | 142 | username: 'user1', |
143 | displayName: 'user 1' | 143 | displayName: 'user 1' |
144 | }) | 144 | }) |
145 | }) | 145 | }) |
146 | 146 | ||
147 | it('Should detect a signup as SPAM', async function () { | 147 | it('Should detect a signup as SPAM', async function () { |
148 | await servers[0].users.register({ | 148 | await servers[0].registrations.register({ |
149 | username: 'user2', | 149 | username: 'user2', |
150 | displayName: 'user 2', | 150 | displayName: 'user 2', |
151 | email: 'akismet-guaranteed-spam@example.com', | 151 | email: 'akismet-guaranteed-spam@example.com', |
diff --git a/server/tests/external-plugins/auto-block-videos.ts b/server/tests/external-plugins/auto-block-videos.ts index d14587c38..cadd02e8d 100644 --- a/server/tests/external-plugins/auto-block-videos.ts +++ b/server/tests/external-plugins/auto-block-videos.ts | |||
@@ -30,7 +30,7 @@ describe('Official plugin auto-block videos', function () { | |||
30 | let port: number | 30 | let port: number |
31 | 31 | ||
32 | before(async function () { | 32 | before(async function () { |
33 | this.timeout(60000) | 33 | this.timeout(120000) |
34 | 34 | ||
35 | servers = await createMultipleServers(2) | 35 | servers = await createMultipleServers(2) |
36 | await setAccessTokensToServers(servers) | 36 | await setAccessTokensToServers(servers) |
diff --git a/server/tests/external-plugins/auto-mute.ts b/server/tests/external-plugins/auto-mute.ts index 440b58bfd..cfed76e88 100644 --- a/server/tests/external-plugins/auto-mute.ts +++ b/server/tests/external-plugins/auto-mute.ts | |||
@@ -21,7 +21,7 @@ describe('Official plugin auto-mute', function () { | |||
21 | let port: number | 21 | let port: number |
22 | 22 | ||
23 | before(async function () { | 23 | before(async function () { |
24 | this.timeout(30000) | 24 | this.timeout(120000) |
25 | 25 | ||
26 | servers = await createMultipleServers(2) | 26 | servers = await createMultipleServers(2) |
27 | await setAccessTokensToServers(servers) | 27 | await setAccessTokensToServers(servers) |