mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-17 07:10:27 +00:00
Build/Test Tools, Formatting group:
- Add and update @covers tags. - Add and improve docs and inline comments. Props pbeane, hellofromTonya, antonvlasenko, ironprogrammer, SergeyBiryukov, costdev. See #39265. git-svn-id: https://develop.svn.wordpress.org/trunk@53562 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
/**
|
||||
* @group formatting
|
||||
* @covers ::excerpt_remove_blocks
|
||||
* @ticket 46133
|
||||
*/
|
||||
class Tests_Formatting_ExcerptRemoveBlocks extends WP_UnitTestCase {
|
||||
@@ -91,6 +90,8 @@ class Tests_Formatting_ExcerptRemoveBlocks extends WP_UnitTestCase {
|
||||
* Tests excerpt_remove_blocks().
|
||||
*
|
||||
* @ticket 46133
|
||||
*
|
||||
* @covers ::excerpt_remove_blocks
|
||||
*/
|
||||
public function test_excerpt_remove_blocks() {
|
||||
// Simple dynamic block..
|
||||
@@ -116,6 +117,8 @@ class Tests_Formatting_ExcerptRemoveBlocks extends WP_UnitTestCase {
|
||||
* `the_content` gets applied, just like shortcodes.
|
||||
*
|
||||
* @ticket 46133
|
||||
*
|
||||
* @covers ::do_blocks
|
||||
*/
|
||||
public function test_excerpt_infinite_loop() {
|
||||
$query = new WP_Query(
|
||||
|
||||
Reference in New Issue
Block a user