Skip to content

Commit 8c7f8f0

Browse files
committed
Polishing
Signed-off-by: Paul Harris <[email protected]> [resolves #978]
1 parent 1928c0a commit 8c7f8f0

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

cloudfoundry-client-reactor/src/test/java/org/cloudfoundry/reactor/client/QueryBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void test() {
4444
assertThat(queryParams.getFirst("test-subclass")).isEqualTo("test-value-6");
4545
assertThat(queryParams.getFirst("test-override")).isEqualTo("test-value-7");
4646
}
47-
47+
4848
public static abstract class StubQueryParams {
4949

5050
@QueryParameter("test-collection")

integration-test/src/test/java/org/cloudfoundry/client/v2/SpacesTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,10 +1064,9 @@ public void listServiceInstancesFilterByGatewayName() {
10641064
))
10651065
.flatMap(function((serviceBrokerId, spaceId) -> createServiceInstanceId(this.cloudFoundryClient, serviceBrokerId, serviceInstanceName, this.serviceName, spaceId)
10661066
.thenReturn(spaceId)))
1067-
.flatMapMany(spaceId -> requestListServiceInstances(this.cloudFoundryClient, spaceId, builder -> builder.gatewayName("")))
1068-
.filter(resource -> serviceInstanceName.equals(ResourceUtils.getEntity(resource).getName()))
1067+
.flatMapMany(spaceId -> requestListServiceInstances(this.cloudFoundryClient, spaceId, builder -> builder.gatewayName("test-gateway-name")))
10691068
.as(StepVerifier::create)
1070-
.expectNextCount(1)
1069+
.expectNextCount(0)
10711070
.expectComplete()
10721071
.verify(Duration.ofMinutes(5));
10731072
}

0 commit comments

Comments
 (0)