aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-29 14:16:03 +0200
committerChocobozzz <me@florianbigard.com>2019-07-29 14:16:03 +0200
commit094ff8e6923145538aec0cc1a1034e3ebbf88641 (patch)
tree5786250a6fa5822534b7cd6c28728239d9f7c076
parent6f530096cbceda09377c2e8e235cf02c36226989 (diff)
downloadPeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.gz
PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.tar.zst
PeerTube-094ff8e6923145538aec0cc1a1034e3ebbf88641.zip
Fix mocha commands
-rw-r--r--server/tests/api/ci-1.sh2
-rw-r--r--server/tests/api/ci-3.sh2
-rw-r--r--support/doc/api/openapi.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/ci-1.sh b/server/tests/api/ci-1.sh
index 8dd9756a5..90ffd568b 100644
--- a/server/tests/api/ci-1.sh
+++ b/server/tests/api/ci-1.sh
@@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts
6notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo) 6notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo)
7searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo) 7searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo)
8 8
9MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ 9MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \
10 $notificationsFiles $searchFiles $checkParamFiles 10 $notificationsFiles $searchFiles $checkParamFiles
diff --git a/server/tests/api/ci-3.sh b/server/tests/api/ci-3.sh
index fc96f6fb4..f6bb8a83e 100644
--- a/server/tests/api/ci-3.sh
+++ b/server/tests/api/ci-3.sh
@@ -4,5 +4,5 @@ set -eu
4 4
5videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo) 5videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo)
6 6
7MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \ 7MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \
8 $videosFiles 8 $videosFiles
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 3f887a7bb..6e3653102 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -734,7 +734,7 @@ paths:
734 $ref: '#/components/schemas/VideoListResponse' 734 $ref: '#/components/schemas/VideoListResponse'
735 /videos/categories: 735 /videos/categories:
736 get: 736 get:
737 summary: Get list of video licences known by the server 737 summary: Get list of video categories known by the server
738 tags: 738 tags:
739 - Video 739 - Video
740 responses: 740 responses: