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 5346a75 commit faab460
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/Unit/ResourceLimitsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,3 @@

expect((int) $im::getResourceLimit(ResourceLimitType::Throttle->value))->toBe((int) 10);
});

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

expect((int)$im::getResourceLimit(ResourceLimitType::Thread->value))->toBe((int)1);
})->skip(getenv('CI'), 'Skip in CI environments');

0 comments on commit faab460

Please sign in to comment.