From 323fe23ef21a8f6df318e5eccb8e1f1b5ff26141 Mon Sep 17 00:00:00 2001 From: Edie Lemoine Date: Fri, 4 Oct 2024 13:59:25 +0200 Subject: [PATCH] test: update tests --- tests/Unit/Base/Service/ZipServiceTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Base/Service/ZipServiceTest.php b/tests/Unit/Base/Service/ZipServiceTest.php index 1f5610159..d2a29d09d 100644 --- a/tests/Unit/Base/Service/ZipServiceTest.php +++ b/tests/Unit/Base/Service/ZipServiceTest.php @@ -6,10 +6,10 @@ namespace MyParcelNL\Pdk\Base\Service; use MyParcelNL\Pdk\Base\Contract\ZipServiceInterface; +use MyParcelNL\Pdk\Base\Exception\ZipException; use MyParcelNL\Pdk\Base\FileSystem; use MyParcelNL\Pdk\Facade\Pdk; use MyParcelNL\Pdk\Tests\Uses\UsesMockPdkInstance; -use RuntimeException; use function MyParcelNL\Pdk\Tests\readZip; use function MyParcelNL\Pdk\Tests\usesShared; @@ -80,7 +80,7 @@ $callback($zipService); }) - ->throws(RuntimeException::class) + ->throws(ZipException::class) ->with([ 'addFromString' => function () { return function (ZipServiceInterface $zipService) {