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) {