mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Build/Test Tools: Switch to some more appropriate assertions.
See #54725 git-svn-id: https://develop.svn.wordpress.org/trunk@52654 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -123,7 +123,7 @@ class Tests_Term extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
foreach ( $posts as $post_id ) {
|
||||
$this->assertTrue( (bool) wp_delete_post( $post_id ) );
|
||||
$this->assertInstanceOf( 'WP_Post', wp_delete_post( $post_id ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user