#27 closed defect (fixed)
WP_CONTENT_URL and other constants are not properly set
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | Legacy - Improve Framework |
| Component: | Test Framework | Keywords: | |
| Cc: |
Description
Our test runner includes the WordPress? bootstrap then installs WordPress?, and there's little way around this.
One side effect: get_option('siteurl') returns false, which means we end up with a WP_CONTENT_URL of '/wp-content' rather than an absolute URL. This causes a number of the test_uploads.php tests to fail, as they check wp_upload_dir() and rely on WP_CONTENT_URL to be absolute.
Change History (3)
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

(In [584]) Fix failing tests in TestUploadFunctions?. see #27.