Skip to content

Commit 45fbd96

Browse files
Add test doc block
1 parent dc95823 commit 45fbd96

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/phpunit/tests/admin/includesScreen.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,9 @@ public function test_is_block_editor( $hook, $filter, $expected ) {
631631
$this->assertSame( $expected, $screen->is_block_editor );
632632
}
633633

634+
/**
635+
* @ticket 17704
636+
*/
634637
public function test_show_screen_options_enqueues_postbox_script_when_meta_boxes_exist() {
635638
global $wp_meta_boxes;
636639

@@ -650,6 +653,9 @@ public function test_show_screen_options_enqueues_postbox_script_when_meta_boxes
650653
wp_dequeue_script( 'postbox' );
651654
}
652655

656+
/**
657+
* @ticket 17704
658+
*/
653659
public function test_show_screen_options_does_not_enqueue_postbox_script_when_no_meta_boxes() {
654660
global $wp_meta_boxes;
655661

0 commit comments

Comments
 (0)