Methods
1 to 8 of 8
- Tests_prerequisites::check_no_posts() – Checks there are no matching posts
- Tests_prerequisites::commit_transaction() – Forcibly commit the transaction
- Tests_prerequisites::delete_posts_with_post_title() – post_status = "any" does not include trash auto-draft or spam wp_posts.post_status <> ‘trash’ AND wp_posts.post_status <> ‘auto-draft’ AND wp_posts.post_status <> ‘spam’)
- Tests_prerequisites::get_posts() –
- Tests_prerequisites::setUp() – set up logic
- Tests_prerequisites::test_delete_pages_with_post_title() – The dummy posts that we create will be pages with "post title" and optional suffix n We don’t want these to be in the database otherwise we’ll get invalid suffices in the permalinks
- Tests_prerequisites::test_no_posts() –
- Tests_prerequisites::test_wp_upload_dir() – For some reason qw/phphants returned /files/ instead of /wp-content/uploads Don’t know why but it broke 3 tests.