diff --git a/pom.xml b/pom.xml index 77263cc..0ba9ebd 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ - 3.9.0.RELEASE + 3.25.0.RELEASE cloudfoundry ${basedir} 2.2.4.BUILD-SNAPSHOT diff --git a/spring-cloud-cloudfoundry-discovery/src/test/java/org/springframework/cloud/cloudfoundry/discovery/CloudFoundryAppServiceDiscoveryClientTest.java b/spring-cloud-cloudfoundry-discovery/src/test/java/org/springframework/cloud/cloudfoundry/discovery/CloudFoundryAppServiceDiscoveryClientTest.java index 8803a18..5ccbcec 100644 --- a/spring-cloud-cloudfoundry-discovery/src/test/java/org/springframework/cloud/cloudfoundry/discovery/CloudFoundryAppServiceDiscoveryClientTest.java +++ b/spring-cloud-cloudfoundry-discovery/src/test/java/org/springframework/cloud/cloudfoundry/discovery/CloudFoundryAppServiceDiscoveryClientTest.java @@ -61,7 +61,7 @@ public class CloudFoundryAppServiceDiscoveryClientTest { ApplicationDetail applicationDetail = ApplicationDetail.builder().id("billing1") .name("billing").instances(1).memoryLimit(1024).stack("cflinux2") .diskQuota(1024).requestedState("Running").runningInstances(1) - .url("billing.apps.example.com", "billing.apps.internal").build(); + .urls("billing.apps.example.com", "billing.apps.internal").build(); given(this.cloudFoundryService.getApplicationInstances(serviceId)) .willReturn(Flux.just(Tuples.of(applicationDetail, InstanceDetail.builder().index("0").build()))); @@ -83,7 +83,7 @@ public class CloudFoundryAppServiceDiscoveryClientTest { ApplicationDetail applicationDetail = ApplicationDetail.builder().id("billing-id") .name("billing").instances(3).memoryLimit(1024).stack("cflinux2") .diskQuota(1024).requestedState("Running").runningInstances(3) - .url("billing.apps.example.com", "billing.apps.internal").build(); + .urls("billing.apps.example.com", "billing.apps.internal").build(); given(this.cloudFoundryService.getApplicationInstances(serviceId)) .willReturn(Flux.just( Tuples.of(applicationDetail,