From 15893d3113af8bc1c623da5311c0d5b4918985b6 Mon Sep 17 00:00:00 2001 From: Tomasz Tutka Date: Wed, 16 Oct 2024 13:35:10 +0200 Subject: [PATCH] fix enum --- .../com/equinix/openapi/fabric/tests/CloudRoutersApiTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/CloudRoutersApiTest.java b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/CloudRoutersApiTest.java index 38708a6..e0cc869 100644 --- a/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/CloudRoutersApiTest.java +++ b/equinix-openapi-fabric-tests/src/test/java/com/equinix/openapi/fabric/tests/CloudRoutersApiTest.java @@ -83,7 +83,7 @@ public void deleteCloudRouterByUuid() throws ApiException { public void getCloudRouterActions() throws ApiException { CloudRouter cloudRouter = createRouter(); cloudRoutersApi.createCloudRouterAction(cloudRouter.getUuid(), new CloudRouterActionRequest().type(CloudRouterActionType.ROUTE_TABLE_ENTRY_UPDATE)); - CloudRouterActionResponse cloudRouterActionResponse = cloudRoutersApi.getCloudRouterActions(cloudRouter.getUuid(), CloudRouterActionState.DONE); + CloudRouterActionResponse cloudRouterActionResponse = cloudRoutersApi.getCloudRouterActions(cloudRouter.getUuid(), CloudRouterActionState.SUCCEEDED); assertEquals(200, cloudRoutersApi.getApiClient().getStatusCode()); assertEquals(cloudRouterActionResponse.getType(), CloudRouterActionType.ROUTE_TABLE_ENTRY_UPDATE); }