Skip to content

Commit

Permalink
Fix server port for regression test.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Viénot <simon.vienot@icloud.com>
  • Loading branch information
svienot committed Oct 3, 2023
1 parent 4f44c67 commit 262438c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environments/.env.dev.hedera
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ UI_DOMAIN_NAME=localhost
## (resp. ui/public/config.json and h5ai-nginx/select-contract-form/public/config.json)
## - the 'server' uses the REPOSITORY_SERVER_URL env variable to return links to the various
## contract files.
#SERVER_URL=http://localhost:5002
SERVER_URL=http://localhost:5002
REPOSITORY_SERVER_URL=http://localhost:10000

# Docker config (only used for repository service in dev mode)
Expand Down
2 changes: 1 addition & 1 deletion test/test-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require('dotenv').config({path: './environments/.env'});

describe('Basic non-regression of hedera-sourcify server', function () {

const SERVER_URL = process.env.SERVER_URL ?? "http://localhost:5000"
const SERVER_URL = process.env.SERVER_URL ?? "http://localhost:5002"
this.timeout(20000) // Overwrite Mocha timeout of 2sec -> 20sec

it('Should return correct verification status for newly created contract', async function () {
Expand Down

0 comments on commit 262438c

Please sign in to comment.