davsclaus commented on code in PR #31188:
URL: https://github.com/apache/camel/pull/31188#discussion_r4758655510


##########
dsl/camel-jbang/camel-jbang-core/src/test/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocSeveralOptionsTest.java:
##########
@@ -97,10 +97,10 @@ void aTermThatMatchesNothingIsSaidWithTheClosestOptions() 
throws Exception {
 
     @Test
     void aTermThatIsAMessageHeaderSaysSo() throws Exception {
-        JsonObject answer = catalogDoc(Map.of("name", "aws2-s3", 
"optionsFilter", "bucketNameOrArn,CamelAwsS3Key"));
+        JsonObject answer = catalogDoc(Map.of("name", "aws2-s3", 
"optionsFilter", "bucketNameOrArn,CamelAwsS3CannedAcl"));
         assertThat(names(answer, "options")).contains("bucketNameOrArn");
-        JsonObject term = unmatched(answer, "camelawss3key");
-        assertThat(names(term, "headers")).contains("CamelAwsS3Key");
+        JsonObject term = unmatched(answer, "camelawss3cannedacl");
+        assertThat(names(term, "headers")).contains("CamelAwsS3CannedAcl");

Review Comment:
   Addressed: the test now has a comment explaining why `CamelAwsS3CannedAcl` 
is used (`optionsFilter` also searches option descriptions, and `CamelAwsS3Key` 
appears in the descriptions of `keyName` and `deleteAfterRead`). Resolving.
   
   _Claude Code on behalf of davsclaus_



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to