Commit eea07d2
committed
Tests: Use HEIC fixture and convert_format=false for original-heic sideload.
The test was sending JPEG bytes with a .heic filename, which wp_check_filetype_and_ext() corrected to canola-1.jpg before the metadata assertion ran. Switch to the real test-image.heic fixture, set Content-Type accordingly, and pass convert_format=false to disable the default HEIC -> JPEG output mapping so the .heic extension is preserved.1 parent b20bbca commit eea07d2
1 file changed
Lines changed: 6 additions & 4 deletions
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3408 | 3408 | | |
3409 | 3409 | | |
3410 | 3410 | | |
3411 | | - | |
3412 | | - | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
3413 | 3414 | | |
3414 | | - | |
| 3415 | + | |
3415 | 3416 | | |
3416 | 3417 | | |
3417 | | - | |
| 3418 | + | |
| 3419 | + | |
3418 | 3420 | | |
3419 | 3421 | | |
3420 | 3422 | | |
| |||
0 commit comments