Skip to content

Commit

Permalink
Polish ChatResource test name and echo unknown configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalgrimaud committed Nov 11, 2024
1 parent 0980e99 commit c3dc473
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ChatResourceTest {
private ChatResource chat;
@Test
void shouldBeUnauthorizedForUnknownAccount() {
void shouldSendMessage() {
when(chatLanguageModel.generate("Hello")).thenReturn(ANSWER);
assertThat(chat.send("Hello")).isEqualTo(ANSWER);
Expand Down
2 changes: 1 addition & 1 deletion tests-ci/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ elif [[ $application == 'langchain4japp' ]]; then
"spring-boot-langchain4j-sample"

else
echo "*** Unknown configuration..." + $application
echo "*** Unknown configuration..." "$application"
exit 1
fi

Expand Down

0 comments on commit c3dc473

Please sign in to comment.