ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests build
Chocobozzzf3e9a38d7e31
diff --git a/packages/tests/src/api/activitypub/security.ts b/packages/tests/src/api/activitypub/security.tsindex 85f255039d..6187c9e45b 100644--- a/packages/tests/src/api/activitypub/security.ts+++ b/packages/tests/src/api/activitypub/security.ts@@ -9,7 +9,8 @@ import {buildGlobalHTTPHeaders,signAndContextify} from '@peertube/peertube-server/core/helpers/activity-pub-utils.js'-import { buildDigest, signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'+import { buildDigest } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'+import { signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-jsonld.js'import { ACTIVITY_PUB, HTTP_SIGNATURE } from '@peertube/peertube-server/core/initializers/constants.js'import { makePOSTAPRequest } from '@tests/shared/requests.js'import { SQLCommand } from '@tests/shared/sql-command.js'diff --git a/packages/tests/src/server-helpers/activitypub.ts b/packages/tests/src/server-helpers/activitypub.tsindex 1ee1d81967..43ecdda564 100644--- a/packages/tests/src/server-helpers/activitypub.ts+++ b/packages/tests/src/server-helpers/activitypub.ts@@ -2,12 +2,8 @@import { buildAbsoluteFixturePath } from '@peertube/peertube-node-utils'import { signAndContextify } from '@peertube/peertube-server/core/helpers/activity-pub-utils.js'-import {- isHTTPSignatureVerified,- isJsonLDSignatureVerified,- parseHTTPSignature,- signJsonLDObject-} from '@peertube/peertube-server/core/helpers/peertube-crypto.js'+import { isHTTPSignatureVerified, parseHTTPSignature } from '@peertube/peertube-server/core/helpers/peertube-crypto.js'+import { isJsonLDSignatureVerified, signJsonLDObject } from '@peertube/peertube-server/core/helpers/peertube-jsonld.js'import { buildRequestStub } from '@tests/shared/tests.js'import { expect } from 'chai'import { readJsonSync } from 'fs-extra/esm'