Skip to content

Commit 24cd617

Browse files
💚 fix dialog test that was failing due to timezone
1 parent 84d67be commit 24cd617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/ibm/watson/developer_cloud/dialog/v1/DialogServiceIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void testConverseAndGetConversationData() throws ParseException, Interrup
122122

123123
ConversationDataOptions options = new ConversationDataOptions.Builder()
124124
.from(DateUtils.addDays(new Date(), -10))
125-
.to(new Date())
125+
.to(DateUtils.addDays( new Date(), 1))
126126
.dialogId(dialogId)
127127
.offset(0)
128128
.limit(10).build();

0 commit comments

Comments
 (0)