Use correct notation for global functions in @covers
test annotations.
Props sgrant. Fixes #30769. git-svn-id: https://develop.svn.wordpress.org/trunk@30976 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
26eeb623a6
commit
fd4231c2a1
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @group formatting
|
* @group formatting
|
||||||
* @covers wp_trim_excerpt
|
* @covers ::wp_trim_excerpt
|
||||||
*/
|
*/
|
||||||
class Tests_Formatting_WpTrimExcerpt extends WP_UnitTestCase {
|
class Tests_Formatting_WpTrimExcerpt extends WP_UnitTestCase {
|
||||||
/**
|
/**
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @group query
|
* @group query
|
||||||
* @covers setup_postdata
|
* @covers ::setup_postdata
|
||||||
*/
|
*/
|
||||||
class Tests_Query_SetupPostdata extends WP_UnitTestCase {
|
class Tests_Query_SetupPostdata extends WP_UnitTestCase {
|
||||||
protected $global_keys = array( 'id', 'authordata', 'currentday', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages' );
|
protected $global_keys = array( 'id', 'authordata', 'currentday', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages' );
|
||||||
|
Loading…
Reference in New Issue
Block a user