From 4b1a3c6d63738e9d577bc22678d80e6c05d88624 Mon Sep 17 00:00:00 2001 From: Raja Kolli Date: Sun, 7 Apr 2024 14:57:47 +0530 Subject: [PATCH] update assertion --- .../test/java/com/example/ai/controller/ChatControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmodel-springai/src/test/java/com/example/ai/controller/ChatControllerTest.java b/chatmodel-springai/src/test/java/com/example/ai/controller/ChatControllerTest.java index 40a2213..a58e818 100644 --- a/chatmodel-springai/src/test/java/com/example/ai/controller/ChatControllerTest.java +++ b/chatmodel-springai/src/test/java/com/example/ai/controller/ChatControllerTest.java @@ -85,6 +85,6 @@ void ragWithSimpleStore() { .then() .statusCode(HttpStatus.SC_OK) .contentType(ContentType.JSON) - .body("answer", containsString("American cuisine is \"Regina Caterers\" with a grade of A")); + .body("answer", containsString("American cuisine is \"Regina Caterers\"")); } }