Skip to content

Commit

Permalink
Update UT
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoang Vu Huy committed Dec 17, 2024
1 parent a694012 commit 329df6a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ public void removeWhiteSpaceInPdfEditableFields_has_no_effect_if_fieldsNotEditab
}

@Test
public void removeWhiteSpaceInPdfEditableFields_has_no_effect_if_output_is_doc() {
documentTemplate.withDocumentCreationOptions(
DocumentCreationOptions.getInstance()
.keepFormFieldsEditableInPdf(true)
.removeWhiteSpaceInPdfEditableFields(true));
public void removeWhiteSpaceInPdfEditableFields_has_no_effect_if_output_is_doc() {
DocumentCreationOptions documentCreationOptions = DocumentCreationOptions.getInstance()
.withPdfOptions(PdfOptions.getInstance().hasToKeepFormFieldsEditable(true)
.hasToRemoveWhiteSpaceInPdfEditableFields(true));
documentTemplate.withDocumentCreationOptions(documentCreationOptions);

File resultFile = makeFile("test/documentTemplate/removingWhiteSpaceInPdfEditableFieldsIT/aDoc.doc");

Expand Down

0 comments on commit 329df6a

Please sign in to comment.