From f5934f3faef5c7888cc56ecfc0e24639d17d65bb Mon Sep 17 00:00:00 2001 From: Frank Gasdorf Date: Fri, 4 Feb 2022 16:35:36 +0100 Subject: [PATCH] [HK] using origin SERVICE_COMPARISON_TEST_URL Change-Id: If13cfb5c1bc3cc5bb9b4a4038d4df1a970f6d93e Signed-off-by: Frank Gasdorf --- .../udig/catalog/tests/internal/ServiceSortingTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/org.locationtech.udig.catalog.tests/src/org/locationtech/udig/catalog/tests/internal/ServiceSortingTest.java b/plugins/org.locationtech.udig.catalog.tests/src/org/locationtech/udig/catalog/tests/internal/ServiceSortingTest.java index a0e85a181..4c6b65b78 100644 --- a/plugins/org.locationtech.udig.catalog.tests/src/org/locationtech/udig/catalog/tests/internal/ServiceSortingTest.java +++ b/plugins/org.locationtech.udig.catalog.tests/src/org/locationtech/udig/catalog/tests/internal/ServiceSortingTest.java @@ -19,6 +19,7 @@ import org.locationtech.udig.catalog.CatalogPlugin; import org.locationtech.udig.catalog.ICatalog; import org.locationtech.udig.catalog.IService; +import org.locationtech.udig.catalog.URLUtilsTest; /** * Tests for sorted services @@ -30,7 +31,7 @@ public class ServiceSortingTest { @Test public void testServiceComparison() throws Exception { ICatalog ci = CatalogPlugin.getDefault().getLocalCatalog(); - IService service = ci.acquire(new URL("http://www.randomurl.com"), + IService service = ci.acquire(new URL(URLUtilsTest.SERVICE_COMPARISON_TEST_URL), new NullProgressMonitor()); assertTrue(service instanceof MoreInterestingService.MoreInterestingServiceImpl); }