Skip to content

Commit 7b2c2d5

Browse files
committed
exception type changed
1 parent 4beafb1 commit 7b2c2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sample-code/spring-app/src/test/java/com/sap/ai/sdk/app/controllers/OrchestrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ void wrongModelVersion() {
507507
() ->
508508
client.chatCompletion(
509509
prompt, filterConfig.withLlmConfig(GPT_5.withName("wrong-model"))))
510-
.isExactlyInstanceOf(OrchestrationClientException.class)
510+
.isInstanceOf(OrchestrationClientException.class)
511511
.hasMessageContaining("400")
512512
.hasMessageContaining("Model name must be one of");
513513

0 commit comments

Comments
 (0)