@@ -148,7 +148,7 @@ public void handlesEmptyKgResultsTest() throws IOException, GeneralSecurityExcep
148
148
149
149
@ Test
150
150
public void handlesPopulatedKgResultsTest () throws IOException , GeneralSecurityException {
151
- String urlEncodedStr = "text=lion " ;
151
+ String urlEncodedStr = "text=kolach " ;
152
152
StringReader requestReadable = new StringReader (urlEncodedStr );
153
153
154
154
when (request .getReader ()).thenReturn (new BufferedReader (requestReadable ));
@@ -159,12 +159,12 @@ public void handlesPopulatedKgResultsTest() throws IOException, GeneralSecurityE
159
159
functionInstance .service (request , response );
160
160
161
161
writerOut .flush ();
162
- assertThat (responseOut .toString ()).contains ("https://en.wikipedia.org/wiki/Lion " );
162
+ assertThat (responseOut .toString ()).contains ("https://en.wikipedia.org/wiki/Kolach " );
163
163
}
164
164
165
165
@ Test
166
166
public void handlesMultipleUrlParamsTest () throws IOException , GeneralSecurityException {
167
- String urlEncodedStr = "unused=foo&text=lion " ;
167
+ String urlEncodedStr = "unused=foo&text=kolach " ;
168
168
StringReader requestReadable = new StringReader (urlEncodedStr );
169
169
170
170
when (request .getReader ()).thenReturn (new BufferedReader (requestReadable ));
@@ -175,6 +175,6 @@ public void handlesMultipleUrlParamsTest() throws IOException, GeneralSecurityEx
175
175
functionInstance .service (request , response );
176
176
177
177
writerOut .flush ();
178
- assertThat (responseOut .toString ()).contains ("https://en.wikipedia.org/wiki/Lion " );
178
+ assertThat (responseOut .toString ()).contains ("https://en.wikipedia.org/wiki/Kolach " );
179
179
}
180
180
}
0 commit comments