|
41 | 41 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.HEALTH_CHECK_ENDPOINT; |
42 | 42 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.HEALTH_CHECK_TIMEMOUT; |
43 | 43 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.JAVA_BUILDPACK; |
| 44 | +import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.JAVA_BUILDPACK_URL; |
44 | 45 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.MEMORY_IN_MB; |
45 | 46 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.NODEJS_BUILDPACK; |
| 47 | +import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.NODEJS_BUILDPACK_URL; |
46 | 48 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.STATICFILE_APPLICATION_CONTENT; |
47 | 49 | import static com.sap.cloudfoundry.client.facade.IntegrationTestConstants.STATICFILE_BUILDPACK; |
48 | 50 | import static org.junit.jupiter.api.Assertions.assertEquals; |
@@ -233,7 +235,7 @@ void getAppInstances() { |
233 | 235 | } |
234 | 236 |
|
235 | 237 | @Test |
236 | | - @DisplayName("Create application and verify its GUID") |
| 238 | + @DisplayName("Create an application, rename it, and verify its GUID") |
237 | 239 | void renameApplication() { |
238 | 240 | String applicationName = "test-application-8"; |
239 | 241 | String newApplicationName = "new-test-application-8"; |
@@ -426,9 +428,11 @@ void createApplicationWithBuildpacks() { |
426 | 428 | @DisplayName("Create application with CNB lifecycle and verify attributes") |
427 | 429 | void createCnbApplication() { |
428 | 430 | String applicationName = "test-app-17"; |
| 431 | + List<String> buildpacks = List.of(JAVA_BUILDPACK_URL, NODEJS_BUILDPACK_URL); |
| 432 | + |
429 | 433 | Staging staging = ImmutableStaging.builder() |
430 | 434 | .lifecycleType(LifecycleType.CNB) |
431 | | - .addBuildpacks(JAVA_BUILDPACK, STATICFILE_BUILDPACK) |
| 435 | + .addAllBuildpacks(buildpacks) |
432 | 436 | .build(); |
433 | 437 | CloudRoute route = getImmutableCloudRoute(); |
434 | 438 | try { |
|
0 commit comments