From dc9748811a99fafd09bc512ffbb2c1f2683f8564 Mon Sep 17 00:00:00 2001 From: Josh Humphries Date: Sun, 11 Aug 2024 18:25:55 +0100 Subject: [PATCH] test: fix docker tests by using correct names Classic not sure how this ever worked. --- tests/test_importer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_importer.py b/tests/test_importer.py index 55245c9..29bf7af 100644 --- a/tests/test_importer.py +++ b/tests/test_importer.py @@ -29,10 +29,10 @@ @pytest.fixture def config(tmp_path: Path) -> Config: - mongo_config = MongoConfig("localhost", 27017) - elasticsearch_config = ElasticsearchConfig(["http://localhost:9200"]) + mongo_config = MongoConfig("mongo", 27017) + elasticsearch_config = ElasticsearchConfig(["http://es:9200"]) portal_config = PortalConfig( - "http://10.0.11.20", "postgres://ckan:password@db/ckan", "admin" + "http://localhost", "postgres://ckan:password@db/ckan", "admin" ) return Config( data_path=tmp_path / "data",