Tests: Remove test for delete_site_icon()
.
Removed in [33329]. H/t wonderboymusic. See #16434. git-svn-id: https://develop.svn.wordpress.org/trunk@33335 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8ea9ecdeb1
commit
358ab7b010
@ -118,15 +118,6 @@ class Tests_WP_Site_Icon extends WP_UnitTestCase {
|
||||
$this->assertGreaterThan( 0, $cropped_id );
|
||||
}
|
||||
|
||||
function test_delete_site_icon() {
|
||||
$attachment_id = $this->_insert_attachment();
|
||||
update_option( 'site_icon', $attachment_id );
|
||||
|
||||
$this->wp_site_icon->delete_site_icon();
|
||||
|
||||
$this->assertFalse( get_option( 'site_icon', false ) );
|
||||
}
|
||||
|
||||
function test_delete_attachment_data() {
|
||||
$attachment_id = $this->_insert_attachment();
|
||||
update_option( 'site_icon', $attachment_id );
|
||||
|
Loading…
Reference in New Issue
Block a user