Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagobustamante committed May 17, 2017
1 parent 419d1d7 commit b5c94a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/gateway.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ describe('Gateway Tests', () => {

function startGateway() {
return new Promise<void>((resolve, reject) => {
const swaggerUrl = `http://localhost:${config.gateway.admin.protocol.http.listenPort}/${config.gateway.admin.apiDocs}/json`;
const swaggerUrl = `http://localhost:${config.gateway.admin.protocol.http.listenPort}/${config.gateway.admin.apiDocs.path}/json`;
database = Container.get(Database);
gateway = Container.get(Gateway);
gateway.start()
Expand Down
2 changes: 1 addition & 1 deletion tree-gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"apiDocs": {
"path": "api-docs",
"host": "localhost:8000"
"host": "localhost"
},
"cors" : {
"origin": {
Expand Down

0 comments on commit b5c94a2

Please sign in to comment.