Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "implied",
"version": "0.2.12",
"version": "0.2.13",
"desription": "Express convenience wrapper.",
"scripts": {
"start": "node app",
Expand Down
4 changes: 2 additions & 2 deletions test/api/users.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down Expand Up @@ -200,4 +200,4 @@ describe("User Password Migration API Tests", function() {

assert.notEqual(user.password, oldPasswordHash);
});
});
});
2 changes: 1 addition & 1 deletion test/run-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/test-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {

server: {
host: 'localhost',
port: 3000
port: 80
}
}
}