diff --git a/config.json.example b/config.json.example index 899950f5..0558e035 100644 --- a/config.json.example +++ b/config.json.example @@ -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", diff --git a/test/test_config.py b/test/test_config.py index b88d55af..25f0fae3 100644 --- a/test/test_config.py +++ b/test/test_config.py @@ -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):