File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
marklogic-client-api/src/test/java/com/marklogic/client/test/datamovement Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ public class WriteBatcherTest {
8080 private static String uri3 = "WriteBatcherTest_content_3.txt" ;
8181 private static String uri4 = "WriteBatcherTest_content_4.txt" ;
8282 private static String uri5 = "invalidXML.xml" ;
83+ private static String uri6 = "invalidXML_2.xml" ;
8384 private static String transform = "WriteBatcherTest_transform.sjs" ;
8485 private static String whbTestCollection = "WriteBatcherTest_" +
8586 new Random ().nextInt (10000 );
@@ -708,7 +709,7 @@ public void testWriteValidAndInvalidDocsAndThrowException() {
708709 String directory = "/WriteBatcherTest/testWriteValidAndInvalidDocsAndThrowException/" ;
709710 DocumentWriteSet writeSet = client .newDocumentManager ().newWriteSet ();
710711 writeSet .add (directory + uri1 , new StringHandle ("test" ));
711- writeSet .add (directory + uri5 , new StringHandle ("this is not valid XML" ).withFormat (Format .XML ));
712+ writeSet .add (directory + uri6 , new StringHandle ("this is not valid XML" ).withFormat (Format .XML ));
712713 writeSet .add (directory + uri2 , new StringHandle ("test" ));
713714 writeSet .add (directory + uri5 , new StringHandle ("this is not valid XML" ).withFormat (Format .XML ));
714715 writeSet .add (directory + uri3 , new StringHandle ("test" ));
You can’t perform that action at this time.
0 commit comments