ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix tests
Chocobozzzf2f814f9d743
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 269d354153..40dd5bf874 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -84,19 +84,20 @@ jobs:${{ runner.OS }}-fixtures-${{ runner.OS }}-- - name: Cache PeerTube pip directory- uses: actions/cache@v4- with:- path: |- ~/.cache/pip- key: ${{ runner.OS }}-${{ matrix.test_suite }}-pip-v1-- - name: Cache Hugging Face models- uses: actions/cache@v4- with:- path: |- ~/.cache/huggingface- key: ${{ runner.OS }}-${{ matrix.test_suite }}-hugging-face-v1+ # We run out of disk space with the caches+ # - name: Cache PeerTube pip directory+ # uses: actions/cache@v4+ # with:+ # path: |+ # ~/.cache/pip+ # key: ${{ runner.OS }}-${{ matrix.test_suite }}-pip-v1++ # - name: Cache Hugging Face models+ # uses: actions/cache@v4+ # with:+ # path: |+ # ~/.cache/huggingface+ # key: ${{ runner.OS }}-${{ matrix.test_suite }}-hugging-face-v1- name: Set env test variable (schedule)if: github.event_name != 'schedule'diff --git a/packages/tests/src/api/check-params/generate-download.ts b/packages/tests/src/api/check-params/generate-download.tsindex abf0bbed3e..2bddeff5c0 100644--- a/packages/tests/src/api/check-params/generate-download.ts+++ b/packages/tests/src/api/check-params/generate-download.ts@@ -51,7 +51,7 @@ describe('Test generate download API validator', function () {})it('Should fail without user token or video file token', async function () {- await server.videos.generateDownload({ videoId, videoFileIds, token: null, expectedStatus: HttpStatusCode.FORBIDDEN_403 })+ await server.videos.generateDownload({ videoId, videoFileIds, token: null, expectedStatus: HttpStatusCode.UNAUTHORIZED_401 })})it('Should fail with an invalid user token', async function () {