File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/test/java/com/box/sdk Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -94,11 +94,9 @@ public void testSendAITexGenRequestWithDialogueHistorySuccess() throws ParseExce
9494 final String fileId = "12345" ;
9595 final String prompt = "What is the name of the file?" ;
9696
97- Date date1 = BoxDateFormat .parse ("2013-05-16T15:27:57-07:00" );
98-
9997 List <BoxAIDialogueEntry > dialogueHistory = new ArrayList <>();
10098 dialogueHistory .add (
101- new BoxAIDialogueEntry ("What is the name of the file?" , "Test file" , date1 )
99+ new BoxAIDialogueEntry ("What is the name of the file?" , "Test file" )
102100 );
103101 dialogueHistory .add (
104102 new BoxAIDialogueEntry ("What is the size of the file?" , "10kb" )
@@ -111,8 +109,7 @@ public void testSendAITexGenRequestWithDialogueHistorySuccess() throws ParseExce
111109 + " {\" id\" : \" %s\" , \" type\" : \" file\" }\n "
112110 + " ],\n "
113111 + " \" dialogue_history\" : [\n "
114- + " {\" prompt\" : \" What is the name of the file?\" , \" answer\" : \" Test file\" , "
115- + " \" created_at\" : \" Fri May 17 00:27:57 CEST 2013\" },\n "
112+ + " {\" prompt\" : \" What is the name of the file?\" , \" answer\" : \" Test file\" },\n "
116113 + " {\" prompt\" : \" What is the size of the file?\" , \" answer\" : \" 10kb\" }\n "
117114 + " ]\n "
118115 + "}" ,
You can’t perform that action at this time.
0 commit comments