diff --git a/package-lock.json b/package-lock.json index 3c28c77..ca661db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "implied", - "version": "0.2.11", + "version": "0.2.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 63e8a84..d78093b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "implied", - "version": "0.2.12", + "version": "0.2.13", "desription": "Express convenience wrapper.", "scripts": { "start": "node app", diff --git a/test/api/users.test.js b/test/api/users.test.js index 970534e..f4f3ecd 100644 --- a/test/api/users.test.js +++ b/test/api/users.test.js @@ -13,7 +13,7 @@ let db = mongojs(testConfig.mongoUrl); //Start Test Server const testServer = require('../run-server'); -const serverUrl = 'http://' + testConfig.server.host + ":" + testConfig.server.port; +const serverUrl = 'http://' + testConfig.server.host; describe("Create User JSON API Tests", function() { before(async function(){ @@ -200,4 +200,4 @@ describe("User Password Migration API Tests", function() { assert.notEqual(user.password, oldPasswordHash); }); -}); \ No newline at end of file +}); diff --git a/test/run-server.js b/test/run-server.js index f2d4c26..288e7c6 100644 --- a/test/run-server.js +++ b/test/run-server.js @@ -10,7 +10,7 @@ process.env.CONFIG_FILENAME = testConfig.impliedConfigPath; //Start server let expressApp = express(); -expressApp.listen(3000); +expressApp.listen(80); let app = implied(expressApp, { listen: false diff --git a/test/test-config.js b/test/test-config.js index 648bbd2..12a972e 100644 --- a/test/test-config.js +++ b/test/test-config.js @@ -4,6 +4,6 @@ module.exports = { server: { host: 'localhost', - port: 3000 + port: 80 } -} \ No newline at end of file +}