diff --git a/tests/Unit/ResourceLimitsTest.php b/tests/Unit/ResourceLimitsTest.php index af3ea16..289253c 100644 --- a/tests/Unit/ResourceLimitsTest.php +++ b/tests/Unit/ResourceLimitsTest.php @@ -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); });