Skip to content

Commit d5282e4

Browse files
committed
test(assistant): Fix failing unit tests
1 parent 95abd24 commit d5282e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assistant/src/test/java/com/ibm/watson/developer_cloud/assistant/v1/AssistantTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void testSendMessage() throws IOException, InterruptedException {
155155

156156
String path = StringUtils.join(PATH_MESSAGE, "?", VERSION, "=2018-02-16");
157157
assertEquals(path, request.getPath());
158-
assertArrayEquals(new String[] { "Great choice! Playing some jazz for you" },
158+
assertArrayEquals(new String[] { "Great choice! Playing some jazz for you." },
159159
serviceResponse.getOutput().getText().toArray(new String[0]));
160160
assertEquals(request.getMethod(), "POST");
161161
assertNotNull(request.getHeader(HttpHeaders.AUTHORIZATION));
@@ -197,7 +197,7 @@ public void testSendMessageWithAlternateIntents() throws IOException, Interrupte
197197

198198
String path = StringUtils.join(PATH_MESSAGE, "?", VERSION, "=2018-02-16");
199199
assertEquals(path, request.getPath());
200-
assertArrayEquals(new String[] { "Great choice! Playing some jazz for you" },
200+
assertArrayEquals(new String[] { "Great choice! Playing some jazz for you." },
201201
serviceResponse.getOutput().getText().toArray(new String[0]));
202202
assertEquals(request.getMethod(), "POST");
203203
assertNotNull(request.getHeader(HttpHeaders.AUTHORIZATION));

0 commit comments

Comments
 (0)