Fix tests

This commit is contained in:
Chocobozzz 2020-11-06 11:22:12 +01:00 committed by Chocobozzz
parent 053aed43fb
commit c8f3cfeba7
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ elif [ "$1" = "api-2" ]; then
usersFiles=$(findTestFiles server/tests/api/users)
liveFiles=$(findTestFiles server/tests/api/live)
MOCHA_PARALLEL=true runTest 2 $serverFiles $usersFiles liveFiles
MOCHA_PARALLEL=true runTest 2 $serverFiles $usersFiles $liveFiles
elif [ "$1" = "api-3" ]; then
npm run build:server

View File

@ -964,7 +964,7 @@ export class VideoModel extends Model<VideoModel> {
}
]
},
VideoLiveModel,
VideoLiveModel.unscoped(),
VideoFileModel,
TagModel
]