Fix mocha commands
authorChocobozzz <me@florianbigard.com>
Mon, 29 Jul 2019 12:16:03 +0000 (14:16 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 29 Jul 2019 12:16:03 +0000 (14:16 +0200)
server/tests/api/ci-1.sh
server/tests/api/ci-3.sh
support/doc/api/openapi.yaml

index 8dd9756a59bdc4d93b3c372f279421c0e7928e9f..90ffd568b9fa81f023ef45904d7cfbe91a0fc739 100644 (file)
@@ -6,5 +6,5 @@ checkParamFiles=$(find server/tests/api/check-params -type f | grep -v index.ts
 notificationsFiles=$(find server/tests/api/notifications -type f | grep -v index.ts | xargs echo)
 searchFiles=$(find server/tests/api/search -type f | grep -v index.ts | xargs echo)
 
-MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \
+MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \
     $notificationsFiles $searchFiles $checkParamFiles
index fc96f6fb4d4d788a0f49589af1c2b3300d459a3c..f6bb8a83e7ea6b707c3b63d3551d07d3f3d9980d 100644 (file)
@@ -4,5 +4,5 @@ set -eu
 
 videosFiles=$(find server/tests/api/videos -type f | grep -v index.ts | xargs echo)
 
-MOCHA_PARALLEL=true npm run mocha --timeout 30000 --exit --require ts-node/register --bail \
+MOCHA_PARALLEL=true npm run mocha -- --timeout 30000 --exit --require ts-node/register --bail \
     $videosFiles
index 3f887a7bb246aac667dc9df5a968da870bd6b997..6e36531022b3941d34326db32460633af7ca8e0f 100644 (file)
@@ -734,7 +734,7 @@ paths:
                 $ref: '#/components/schemas/VideoListResponse'
   /videos/categories:
     get:
-      summary: Get list of video licences known by the server
+      summary: Get list of video categories known by the server
       tags:
         - Video
       responses: