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); }