Repository navigation
Commit a336e41
committed
Tests: Allow
These tests call `->render_control_template_scripts()`, which depends on a
normally lazy-loaded file: `wp-includes/media-template.php`.
Previous tests in these classes load that file as a side-effect of calling
`$widget->enqueue_admin_scripts()`. When testing these tests individually,
that file is never loaded. Load it explicitly.*::test_render_control_template_scripts() to run by itself.1 parent bb3b81b commit a336e41
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
319 | 322 | | |
320 | 323 | | |
321 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
0 commit comments