Commit 9ca38ce
committed
Media: Temporarily disable failing tests when Imagick 7 is in use, pending further investigation.
The updated PHP 8.4 and 8.3 containers are running Imagick 7 which is producing some test failures for AVIFs and PNGs with 1-bit transparency. This requires further investigation, possibly accompanied by more comprehensive testing across Imagick versions, so these tests are disabled for now.
Additional missing assertions have also been added which ensure an unexpected `WP_Error` instance correctly fails the test and is not passed to an image processing function.
Props johnbillion, siliconforks, desrosj, jorbin.
See #63932
git-svn-id: https://develop.svn.wordpress.org/trunk@60736 602fd350-edb4-49c9-b593-d223f7449a821 parent b6e708d commit 9ca38ce
File tree
3 files changed
+55
-0
lines changed- tests/phpunit/tests
- image
3 files changed
+55
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
708 | 712 | | |
709 | 713 | | |
710 | 714 | | |
| |||
779 | 783 | | |
780 | 784 | | |
781 | 785 | | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
782 | 794 | | |
783 | 795 | | |
784 | 796 | | |
| |||
835 | 847 | | |
836 | 848 | | |
837 | 849 | | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
838 | 858 | | |
839 | 859 | | |
840 | 860 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
| |||
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| 115 | + | |
| 116 | + | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
| |||
130 | 140 | | |
131 | 141 | | |
132 | 142 | | |
| 143 | + | |
| 144 | + | |
133 | 145 | | |
134 | 146 | | |
135 | 147 | | |
| |||
151 | 163 | | |
152 | 164 | | |
153 | 165 | | |
| 166 | + | |
| 167 | + | |
154 | 168 | | |
155 | 169 | | |
156 | 170 | | |
| |||
164 | 178 | | |
165 | 179 | | |
166 | 180 | | |
| 181 | + | |
| 182 | + | |
167 | 183 | | |
168 | 184 | | |
169 | 185 | | |
| |||
177 | 193 | | |
178 | 194 | | |
179 | 195 | | |
| 196 | + | |
| 197 | + | |
180 | 198 | | |
181 | 199 | | |
182 | 200 | | |
| |||
190 | 208 | | |
191 | 209 | | |
192 | 210 | | |
| 211 | + | |
| 212 | + | |
193 | 213 | | |
194 | 214 | | |
195 | 215 | | |
| |||
203 | 223 | | |
204 | 224 | | |
205 | 225 | | |
| 226 | + | |
| 227 | + | |
206 | 228 | | |
207 | 229 | | |
208 | 230 | | |
| |||
216 | 238 | | |
217 | 239 | | |
218 | 240 | | |
| 241 | + | |
| 242 | + | |
219 | 243 | | |
220 | 244 | | |
221 | 245 | | |
| |||
240 | 264 | | |
241 | 265 | | |
242 | 266 | | |
| 267 | + | |
| 268 | + | |
243 | 269 | | |
244 | 270 | | |
245 | 271 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5460 | 5460 | | |
5461 | 5461 | | |
5462 | 5462 | | |
| 5463 | + | |
| 5464 | + | |
| 5465 | + | |
5463 | 5466 | | |
5464 | 5467 | | |
5465 | 5468 | | |
| |||
5469 | 5472 | | |
5470 | 5473 | | |
5471 | 5474 | | |
| 5475 | + | |
| 5476 | + | |
| 5477 | + | |
| 5478 | + | |
5472 | 5479 | | |
5473 | 5480 | | |
5474 | 5481 | | |
| |||
5503 | 5510 | | |
5504 | 5511 | | |
5505 | 5512 | | |
| 5513 | + | |
| 5514 | + | |
5506 | 5515 | | |
5507 | 5516 | | |
5508 | 5517 | | |
| |||
0 commit comments