WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/17/2015 08:48:33 PM (6 years ago)
Author:
wonderboymusic
Message:

Unit Tests: better fixtures for Tests_AdminBar. Don't force-delete some posts: some filter callbacks are no-ops on Multisite if the post is vanquished.

See #30017, #33968.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/multisite/site.php

    r35244 r35246  
    675675        $this->assertEquals( 2, get_blog_details()->post_count );
    676676
    677         wp_delete_post( $post2, true );
     677        wp_delete_post( $post2 );
    678678        $this->assertEquals( 1, get_blog_details()->post_count );
    679679    }
Note: See TracChangeset for help on using the changeset viewer.