mirror of https://github.com/Chocobozzz/PeerTube
Fix tests
parent
053aed43fb
commit
c8f3cfeba7
|
@ -60,7 +60,7 @@ elif [ "$1" = "api-2" ]; then
|
||||||
usersFiles=$(findTestFiles server/tests/api/users)
|
usersFiles=$(findTestFiles server/tests/api/users)
|
||||||
liveFiles=$(findTestFiles server/tests/api/live)
|
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
|
elif [ "$1" = "api-3" ]; then
|
||||||
npm run build:server
|
npm run build:server
|
||||||
|
|
||||||
|
|
|
@ -964,7 +964,7 @@ export class VideoModel extends Model<VideoModel> {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
VideoLiveModel,
|
VideoLiveModel.unscoped(),
|
||||||
VideoFileModel,
|
VideoFileModel,
|
||||||
TagModel
|
TagModel
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue