Changeset 53858 for trunk/tests/phpunit/tests/blocks/register.php
- Timestamp:
- 08/08/2022 08:20:43 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/register.php
r53718 r53858 554 554 555 555 /** 556 * Tests that `has_blocks()` returns `false` with an invalid post. 557 * 558 * @ticket 55705 559 * 560 * @covers ::has_blocks 561 */ 562 public function test_has_blocks_with_invalid_post() { 563 $a_post = (object) array( 564 'ID' => 55705, 565 'filter' => 'display', 566 ); 567 $this->assertFalse( has_blocks( $a_post ) ); 568 } 569 570 /** 556 571 * @ticket 49615 557 572 */
Note: See TracChangeset
for help on using the changeset viewer.