mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Build/Test Tools: Add missing @covers tags for Tests_Admin_includesFile.
Follow-up to [25002], [42773]. Props pbearne, jrf, hellofromTonya. See #39265. git-svn-id: https://develop.svn.wordpress.org/trunk@51992 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
032b98dbdd
commit
30fc5ec439
@ -8,6 +8,8 @@ class Tests_Admin_IncludesFile extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 20449
|
||||
*
|
||||
* @covers ::get_home_path
|
||||
*/
|
||||
function test_get_home_path() {
|
||||
$home = get_option( 'home' );
|
||||
@ -34,6 +36,8 @@ class Tests_Admin_IncludesFile extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 43329
|
||||
*
|
||||
* @covers ::download_url
|
||||
*/
|
||||
public function test_download_url_non_200_response_code() {
|
||||
add_filter( 'pre_http_request', array( $this, '_fake_download_url_non_200_response_code' ), 10, 3 );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user