Commit db0cf2f
authored
Tests: Temporarily disable REST index output-format assertions (#78788)
Core's re-introduced client-side media processing (changeset 62428) restored a
pre-#75793 REST API root index that still exposes the file-less
`image_output_formats`, `jpeg_interlaced`, `png_interlaced`, and `gif_interlaced`
settings. When the plugin runs against Core trunk, these keys are present, so the
`assertArrayNotHasKey` assertions in the media processing test fail.
The proper fix lives in Core, where wordpress-develop#12007 removes these
redundant index keys in favor of the per-attachment `image_output_format` and
`image_save_progressive` response fields. Until that PR merges, disable the
affected assertions and link to it so they can be reactivated.
See WordPress/wordpress-develop#120071 parent 913ad1b commit db0cf2f
1 file changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
| |||
0 commit comments