Skip to content

Commit

Permalink
Reduce sample size
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Dec 28, 2024
1 parent 12817af commit c4ff66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected function assertMediaType(string|array $allowed, string|EncodedImage $i

protected function assertMediaTypeJpeg2000(string|EncodedImage $input): void
{
$sample = strtoupper(substr(bin2hex((string) $input), 0, 1024));
$sample = strtoupper(substr(bin2hex((string) $input), 0, 24));

$this->assertTrue(
preg_match("/^0000000C6A5020200D0A870A|FF4FFF51/", $sample) === 1,
Expand Down

0 comments on commit c4ff66b

Please sign in to comment.