Fix tests

This commit is contained in:
Chocobozzz 2017-01-23 23:00:27 +01:00
parent c129e2a167
commit 84c07f8ac1

View File

@ -60,9 +60,10 @@ function runServer (number, callback) {
// These actions are async so we need to be sure that they have both been done
const serverRunString = {
'Database is ready': false,
'Server listening on port': false
}
const key = 'Database peertube_test' + number + ' is ready'
serverRunString[key] = false
const regexps = {
client_id: 'Client id: (.+)',