Skip to content

Commit

Permalink
Fix signature test
Browse files Browse the repository at this point in the history
DEVSIX-8881

Autoported commit.
Original commit hash: [79177b1e7]
  • Loading branch information
Alexandr Pliushchou authored and iText-CI committed Feb 26, 2025
1 parent d2aa555 commit cef57ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,7 @@ private void TestSignatureOnRotatedPage(int pageNum, bool useDescription, bool u
// Make sure iText can open the document
new PdfDocument(new PdfReader(dest)).Close();
try {
// compareByContent will fail due to signing dates, compareSignatures doesn't check appearance
String testResult = new CompareTool().CompareVisually(dest, SOURCE_FOLDER + "cmp_" + fileName, DESTINATION_FOLDER
, "diff_");
if (null != testResult) {
assertionResults.Append(testResult);
}
testResult = SignaturesCompareTool.CompareSignatures(dest, SOURCE_FOLDER + "cmp_" + fileName);
String testResult = SignaturesCompareTool.CompareSignatures(dest, SOURCE_FOLDER + "cmp_" + fileName);
if (null != testResult) {
assertionResults.Append(testResult);
}
Expand Down
2 changes: 1 addition & 1 deletion port-hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d3b25e7671571d4a3567b5a2309515e30c096db8
79177b1e7091d262b40b2479b79347f6d8b9bc73

0 comments on commit cef57ed

Please sign in to comment.