Skip to content

Commit

Permalink
#163: Change example ICAT_URL to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Jan 14, 2021
1 parent cfa20d8 commit 7d1d0b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.json.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"backend": "db",
"DB_URL": "mysql+pymysql://root:rootpw@localhost:13306/icatdb",
"ICAT_URL": "https://localhost.localdomain:8181",
"ICAT_URL": "https://localhost:8181",
"icat_check_cert": false,
"log_level": "WARN",
"log_location": "/home/runner/work/datagateway-api/datagateway-api/logs.log",
Expand Down
2 changes: 1 addition & 1 deletion test/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_invalid_db_url(self, invalid_config):
class TestICATURL:
def test_valid_icat_url(self, valid_config):
icat_url = valid_config.get_icat_url()
assert icat_url == "https://localhost.localdomain:8181"
assert icat_url == "https://localhost:8181"

def test_invalid_icat_url(self, invalid_config):
with pytest.raises(SystemExit):
Expand Down

0 comments on commit 7d1d0b4

Please sign in to comment.