From 12ed8cdf49b5e2ce9d855cd412759ec6dec304b2 Mon Sep 17 00:00:00 2001 From: Patrick Organ Date: Sat, 22 Jun 2024 10:08:27 -0400 Subject: [PATCH] update unit tests --- tests/Unit/ResourceLimitsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); });