From f304a1580b5ce7b6c5f9e25cd3ddc63ca8d8c6a1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Dec 2021 13:58:07 +0100 Subject: Fix build --- server/tests/shared/streaming-playlists.ts | 2 +- server/tests/shared/tracker.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests') diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts index 738dc90e1..7ca707f2e 100644 --- a/server/tests/shared/streaming-playlists.ts +++ b/server/tests/shared/streaming-playlists.ts @@ -1,7 +1,7 @@ import { expect } from 'chai' import { basename } from 'path' import { removeFragmentedMP4Ext } from '@shared/core-utils' -import { sha256 } from '@shared/core-utils/common/crypto' +import { sha256 } from '@shared/extra-utils' import { HttpStatusCode, VideoStreamingPlaylist } from '@shared/models' import { PeerTubeServer } from '@shared/server-commands' diff --git a/server/tests/shared/tracker.ts b/server/tests/shared/tracker.ts index 699895d5f..9c1f0246a 100644 --- a/server/tests/shared/tracker.ts +++ b/server/tests/shared/tracker.ts @@ -1,5 +1,5 @@ import { expect } from 'chai' -import { sha1 } from '@shared/core-utils' +import { sha1 } from '@shared/extra-utils' import { makeGetRequest } from '@shared/server-commands' async function hlsInfohashExist (serverUrl: string, masterPlaylistUrl: string, fileNumber: number) { -- cgit v1.2.3