Skip to content

Commit a1fd74d

Browse files
committed
Test fixes after merge
1 parent b025c4f commit a1fd74d

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

ext/libxml/tests/image/getimagesize.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ array(7) {
6767
[1]=>
6868
int(1)
6969
[2]=>
70-
int(20)
70+
int(%d)
7171
[3]=>
7272
string(20) "width="1" height="1""
7373
["mime"]=>
@@ -83,7 +83,7 @@ array(6) {
8383
[1]=>
8484
int(1)
8585
[2]=>
86-
int(20)
86+
int(%d)
8787
["mime"]=>
8888
string(13) "image/svg+xml"
8989
["width_unit"]=>

ext/standard/tests/image/getimagesize.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ array(18) {
265265
string(2) "px"
266266
}
267267
["test4pix.heic"]=>
268-
array(7) {
268+
array(9) {
269269
[0]=>
270270
int(54)
271271
[1]=>
@@ -280,6 +280,10 @@ array(18) {
280280
int(3)
281281
["mime"]=>
282282
string(10) "image/heif"
283+
["width_unit"]=>
284+
string(2) "px"
285+
["height_unit"]=>
286+
string(2) "px"
283287
}
284288
["test4pix.iff"]=>
285289
array(8) {

ext/standard/tests/image/image_type_to_mime_type_variation3.phpt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Sanjay Mantoor <[email protected]>
66
<?php
77
echo "*** Testing image_type_to_mime_type() : usage variations ***\n";
88

9-
for($imagetype = 0; $imagetype <= 19; ++$imagetype) {
9+
for($imagetype = 0; $imagetype <= 20; ++$imagetype) {
1010
echo "\n-- Iteration $imagetype --\n";
1111
var_dump(image_type_to_mime_type($imagetype));
1212
}
@@ -80,8 +80,5 @@ string(10) "image/avif"
8080
-- Iteration 20 --
8181
string\(10\) "image\/heif"
8282

83-
-- Iteration 21 --
84-
string\(24\) "application\/octet-stream"
85-
8683
-- Iteration 999 --
8784
string(24) "application/octet-stream"

0 commit comments

Comments
 (0)