diff options
Diffstat (limited to 'server/tests/api/activitypub')
-rw-r--r-- | server/tests/api/activitypub/client.ts | 2 | ||||
-rw-r--r-- | server/tests/api/activitypub/fetch.ts | 2 | ||||
-rw-r--r-- | server/tests/api/activitypub/helpers.ts | 2 | ||||
-rw-r--r-- | server/tests/api/activitypub/refresher.ts | 4 | ||||
-rw-r--r-- | server/tests/api/activitypub/security.ts | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/server/tests/api/activitypub/client.ts b/server/tests/api/activitypub/client.ts index 6d90d8643..52e7e27f8 100644 --- a/server/tests/api/activitypub/client.ts +++ b/server/tests/api/activitypub/client.ts | |||
@@ -11,7 +11,7 @@ import { | |||
11 | ServerInfo, | 11 | ServerInfo, |
12 | setAccessTokensToServers, | 12 | setAccessTokensToServers, |
13 | uploadVideo | 13 | uploadVideo |
14 | } from '../../../../shared/utils' | 14 | } from '../../../../shared/extra-utils' |
15 | 15 | ||
16 | const expect = chai.expect | 16 | const expect = chai.expect |
17 | 17 | ||
diff --git a/server/tests/api/activitypub/fetch.ts b/server/tests/api/activitypub/fetch.ts index 9cbc7dd84..f9dba3418 100644 --- a/server/tests/api/activitypub/fetch.ts +++ b/server/tests/api/activitypub/fetch.ts | |||
@@ -17,7 +17,7 @@ import { | |||
17 | uploadVideo, | 17 | uploadVideo, |
18 | userLogin, | 18 | userLogin, |
19 | waitJobs | 19 | waitJobs |
20 | } from '../../../../shared/utils' | 20 | } from '../../../../shared/extra-utils' |
21 | import * as chai from 'chai' | 21 | import * as chai from 'chai' |
22 | import { Video } from '../../../../shared/models/videos' | 22 | import { Video } from '../../../../shared/models/videos' |
23 | 23 | ||
diff --git a/server/tests/api/activitypub/helpers.ts b/server/tests/api/activitypub/helpers.ts index ac6e755c3..365d0e1ae 100644 --- a/server/tests/api/activitypub/helpers.ts +++ b/server/tests/api/activitypub/helpers.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { expect } from 'chai' | 4 | import { expect } from 'chai' |
5 | import { buildRequestStub } from '../../../../shared/utils/miscs/stubs' | 5 | import { buildRequestStub } from '../../../../shared/extra-utils/miscs/stubs' |
6 | import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto' | 6 | import { isHTTPSignatureVerified, isJsonLDSignatureVerified, parseHTTPSignature } from '../../../helpers/peertube-crypto' |
7 | import { cloneDeep } from 'lodash' | 7 | import { cloneDeep } from 'lodash' |
8 | import { buildSignedActivity } from '../../../helpers/activitypub' | 8 | import { buildSignedActivity } from '../../../helpers/activitypub' |
diff --git a/server/tests/api/activitypub/refresher.ts b/server/tests/api/activitypub/refresher.ts index 665a9f9f0..7b08b1dab 100644 --- a/server/tests/api/activitypub/refresher.ts +++ b/server/tests/api/activitypub/refresher.ts | |||
@@ -20,8 +20,8 @@ import { | |||
20 | uploadVideoAndGetId, | 20 | uploadVideoAndGetId, |
21 | wait, | 21 | wait, |
22 | waitJobs | 22 | waitJobs |
23 | } from '../../../../shared/utils' | 23 | } from '../../../../shared/extra-utils' |
24 | import { getAccount } from '../../../../shared/utils/users/accounts' | 24 | import { getAccount } from '../../../../shared/extra-utils/users/accounts' |
25 | import { VideoPlaylistPrivacy } from '../../../../shared/models/videos' | 25 | import { VideoPlaylistPrivacy } from '../../../../shared/models/videos' |
26 | 26 | ||
27 | describe('Test AP refresher', function () { | 27 | describe('Test AP refresher', function () { |
diff --git a/server/tests/api/activitypub/security.ts b/server/tests/api/activitypub/security.ts index 2c55876ba..2346e9c8e 100644 --- a/server/tests/api/activitypub/security.ts +++ b/server/tests/api/activitypub/security.ts | |||
@@ -9,12 +9,12 @@ import { | |||
9 | killallServers, | 9 | killallServers, |
10 | ServerInfo, | 10 | ServerInfo, |
11 | setActorField | 11 | setActorField |
12 | } from '../../../../shared/utils' | 12 | } from '../../../../shared/extra-utils' |
13 | import { HTTP_SIGNATURE } from '../../../initializers/constants' | 13 | import { HTTP_SIGNATURE } from '../../../initializers/constants' |
14 | import { buildDigest, buildGlobalHeaders } from '../../../lib/job-queue/handlers/utils/activitypub-http-utils' | 14 | import { buildDigest, buildGlobalHeaders } from '../../../lib/job-queue/handlers/utils/activitypub-http-utils' |
15 | import * as chai from 'chai' | 15 | import * as chai from 'chai' |
16 | import { activityPubContextify, buildSignedActivity } from '../../../helpers/activitypub' | 16 | import { activityPubContextify, buildSignedActivity } from '../../../helpers/activitypub' |
17 | import { makeFollowRequest, makePOSTAPRequest } from '../../../../shared/utils/requests/activitypub' | 17 | import { makeFollowRequest, makePOSTAPRequest } from '../../../../shared/extra-utils/requests/activitypub' |
18 | 18 | ||
19 | const expect = chai.expect | 19 | const expect = chai.expect |
20 | 20 | ||