From ff042213353d559e7f84de9792dcc9d14da85a10 Mon Sep 17 00:00:00 2001 From: I538344 Date: Wed, 18 Sep 2024 15:51:19 +0200 Subject: [PATCH] Fix tests --- .../java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/test/java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java b/core/src/test/java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java index 5d80463f..470c0911 100644 --- a/core/src/test/java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java +++ b/core/src/test/java/com/sap/ai/sdk/core/client/ExecutionUnitTest.java @@ -77,9 +77,7 @@ void testGetExecutions() { assertThat(execution.getConfigurationId()).isEqualTo("e0a9eb2e-9ea1-43bf-aff5-7660db166676"); assertThat(execution.getConfigurationName()).isEqualTo("spam-detection-execution-config-0"); assertThat(execution.getCreatedAt()).isEqualTo("2023-08-05T14:07:52Z"); - // executableId is not in the generated client, but we can still get it from the - // cloudSdkCustomFields - assertThat(execution.getCustomField("executableId")).isEqualTo("wt-spam-detection-i343697"); + assertThat(execution.getExecutableId()).isEqualTo("wt-spam-detection-i343697"); assertThat(execution.getOutputArtifacts().get(0).getId()) .isEqualTo("be0d728f-1cb2-4ff4-97ad-45c54ac592f6"); assertThat(execution.getOutputArtifacts().get(0).getKind())