Skip to content

Commit

Permalink
update unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patinthehat committed Jun 22, 2024
1 parent 4b6a23f commit 12ed8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/ResourceLimitsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@

it('sets the thread resource limit', function () {
$pdf = new Pdf($this->testFile);
$im = $pdf->resourceLimit(ResourceLimitType::Thread, 4)
$im = $pdf->resourceLimit(ResourceLimitType::Thread, 1)
->getImageData($this->testFile, 1);

expect((int) $im::getResourceLimit(ResourceLimitType::Thread->value))->toBe((int) 4);
expect((int)$im::getResourceLimit(ResourceLimitType::Thread->value))->toBe((int)1);
});

0 comments on commit 12ed8cd

Please sign in to comment.