Some fixes for e2e tests

This commit is contained in:
witzig 2017-05-10 12:44:48 +02:00
parent 6c35046ab2
commit f106cd2850
5 changed files with 28 additions and 13 deletions

View file

@ -14,3 +14,8 @@ if (config.app.testserver.enabled !== true) {
log.error('e2e', 'This script only runs if the testserver is enabled. Check config/test.toml');
process.exit(1);
}
if (config.app.www.port !== 3000) {
log.error('e2e', 'This script requires Mailtrain to be running on port 3000. Check config/test.toml');
process.exit(1);
}