Skip to content

Commit 0649422

Browse files
committed
ci: fix OrganizationsTest#getUsageSummary
1 parent 95bce8b commit 0649422

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

integration-test/src/test/java/org/cloudfoundry/client/v3/OrganizationsTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import java.time.Duration;
2323
import org.cloudfoundry.AbstractIntegrationTest;
24+
import org.cloudfoundry.ApplicationUtils;
2425
import org.cloudfoundry.CloudFoundryVersion;
2526
import org.cloudfoundry.IfCloudFoundryVersion;
2627
import org.cloudfoundry.client.CloudFoundryClient;
@@ -228,7 +229,9 @@ public void getDefaultIsolationSegment() {
228229

229230
@IfCloudFoundryVersion(greaterThanOrEqualTo = CloudFoundryVersion.PCF_2_8)
230231
@Test
231-
public void getUsageSummary() {
232+
public void getUsageSummary(
233+
// We inject the testLogCacheApp to ensure there is _some_ usage in the org
234+
@Autowired Mono<ApplicationUtils.ApplicationMetadata> testLogCacheApp) {
232235
this.organizationId
233236
.flatMap(
234237
organizationId ->

0 commit comments

Comments
 (0)