mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@35246 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -508,7 +508,7 @@ class Tests_Post extends WP_UnitTestCase {
|
||||
$this->assertEquals($future_date, $this->_next_schedule_for_post('publish_future_post', $id));
|
||||
|
||||
// now delete the post and make sure the cron entry is removed
|
||||
wp_delete_post($id);
|
||||
wp_delete_post( $id );
|
||||
|
||||
$this->assertFalse($this->_next_schedule_for_post('publish_future_post', $id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user