Skip to content

Commit

Permalink
Update in ExportTest to check for inequality of file sizes of same pd…
Browse files Browse the repository at this point in the history
…f file for with and without watermark instead of watermark size difference
  • Loading branch information
brijm-improwised committed Nov 19, 2024
1 parent 92280bd commit d9fabf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Entity/ExportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ public function test_page_export_pdf_watermark_show()

$withWatermarkFileSize = strlen($resp->getContent());

// WaterMark Size is 736 bytes, So we Check with and without watermark pdf file size difference
$this->assertEquals(736, ($withWatermarkFileSize - $withoutWatermarkFileSize));
// Test The Difference for with and without watermark File Size With same pdf File
$this->assertNotEquals($withWatermarkFileSize, $withoutWatermarkFileSize);
}
}

0 comments on commit d9fabf4

Please sign in to comment.