diff --git a/.travis.yml b/.travis.yml index 2da67e46..4a81481f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: - '13' env: - MYSQL_HOST='localhost' MYSQL_PASSWORD='' MYSQL_USERNAME='root' MYSQL_DATABASE='pigallery2_test' + - Server-port=35000 services: - mysql addons: diff --git a/package.json b/package.json index 7fa81bd5..ae84c5f8 100644 --- a/package.json +++ b/package.json @@ -65,12 +65,12 @@ "@angular/platform-browser-dynamic": "8.2.14", "@angular/router": "8.2.14", "@ngx-translate/i18n-polyfill": "1.0.0", - "@types/bcrypt": "^3.0.0", + "@types/bcrypt": "3.0.0", "@types/bcryptjs": "2.4.2", "@types/chai": "4.2.6", "@types/cookie-parser": "1.4.2", "@types/cookie-session": "2.0.37", - "@types/csurf": "^1.9.36", + "@types/csurf": "1.9.36", "@types/ejs": "3.0.0", "@types/express": "4.17.2", "@types/express-jwt": "0.0.42", @@ -89,7 +89,7 @@ "@yaga/leaflet-ng2": "1.0.0", "bootstrap": "4.4.1", "chai": "4.2.0", - "chai-http": "^4.3.0", + "chai-http": "4.3.0", "codelyzer": "5.2.0", "core-js": "3.4.7", "ejs-loader": "0.3.5", diff --git a/test/backend/integration/routers/admin/SettingsRouter.ts b/test/backend/integration/routers/admin/SettingsRouter.ts index c83af728..5f24bfe9 100644 --- a/test/backend/integration/routers/admin/SettingsRouter.ts +++ b/test/backend/integration/routers/admin/SettingsRouter.ts @@ -31,6 +31,7 @@ describe('SettingsRouter', () => { describe('/GET settings', () => { it('it should GET all the books', async () => { + Config.Client.authenticationRequired = false; const originalSettings = Config.original(); originalSettings.Server.sessionSecret = null; const srv = new Server();