diff --git a/functions/slack/src/test/java/functions/SlackSlashCommandTest.java b/functions/slack/src/test/java/functions/SlackSlashCommandTest.java index 8ddfdad4687..d3a3af43dc3 100644 --- a/functions/slack/src/test/java/functions/SlackSlashCommandTest.java +++ b/functions/slack/src/test/java/functions/SlackSlashCommandTest.java @@ -148,7 +148,7 @@ public void handlesEmptyKgResultsTest() throws IOException, GeneralSecurityExcep @Test public void handlesPopulatedKgResultsTest() throws IOException, GeneralSecurityException { - String urlEncodedStr = "text=lion"; + String urlEncodedStr = "text=kolach"; StringReader requestReadable = new StringReader(urlEncodedStr); when(request.getReader()).thenReturn(new BufferedReader(requestReadable)); @@ -159,12 +159,12 @@ public void handlesPopulatedKgResultsTest() throws IOException, GeneralSecurityE functionInstance.service(request, response); writerOut.flush(); - assertThat(responseOut.toString()).contains("https://en.wikipedia.org/wiki/Lion"); + assertThat(responseOut.toString()).contains("https://en.wikipedia.org/wiki/Kolach"); } @Test public void handlesMultipleUrlParamsTest() throws IOException, GeneralSecurityException { - String urlEncodedStr = "unused=foo&text=lion"; + String urlEncodedStr = "unused=foo&text=kolach"; StringReader requestReadable = new StringReader(urlEncodedStr); when(request.getReader()).thenReturn(new BufferedReader(requestReadable)); @@ -175,6 +175,6 @@ public void handlesMultipleUrlParamsTest() throws IOException, GeneralSecurityEx functionInstance.service(request, response); writerOut.flush(); - assertThat(responseOut.toString()).contains("https://en.wikipedia.org/wiki/Lion"); + assertThat(responseOut.toString()).contains("https://en.wikipedia.org/wiki/Kolach"); } }