Changeset 52010 for trunk/tests/phpunit/tests/image/header.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/header.php
r51568 r52010 9 9 public $custom_image_header; 10 10 11 function set_up() {11 public function set_up() { 12 12 parent::set_up(); 13 13 $this->custom_image_header = new Custom_Image_Header( '__return_null' ); 14 14 } 15 15 16 function test_header_image_has_correct_dimensions_with_max_width() {16 public function test_header_image_has_correct_dimensions_with_max_width() { 17 17 global $_wp_theme_features; 18 18 … … 34 34 } 35 35 36 function test_header_image_has_correct_dimensions_with_fixed() {36 public function test_header_image_has_correct_dimensions_with_fixed() { 37 37 global $_wp_theme_features; 38 38 … … 54 54 } 55 55 56 function test_header_image_has_correct_dimensions_with_flex_height() {56 public function test_header_image_has_correct_dimensions_with_flex_height() { 57 57 global $_wp_theme_features; 58 58 … … 74 74 } 75 75 76 function test_header_image_has_correct_dimensions_with_flex_width() {76 public function test_header_image_has_correct_dimensions_with_flex_width() { 77 77 global $_wp_theme_features; 78 78 … … 94 94 } 95 95 96 function test_header_image_has_correct_dimensions_with_flex_width_and_height() {96 public function test_header_image_has_correct_dimensions_with_flex_width_and_height() { 97 97 global $_wp_theme_features; 98 98 … … 114 114 } 115 115 116 function test_create_attachment_object() {116 public function test_create_attachment_object() { 117 117 $id = wp_insert_attachment( 118 118 array( … … 133 133 } 134 134 135 function test_insert_cropped_attachment() {135 public function test_insert_cropped_attachment() { 136 136 $id = wp_insert_attachment( 137 137 array( … … 155 155 * @ticket 21819 156 156 */ 157 function test_check_get_previous_crop() {157 public function test_check_get_previous_crop() { 158 158 $id = wp_insert_attachment( 159 159 array(
Note: See TracChangeset
for help on using the changeset viewer.