Changeset 51287 for trunk/tests/phpunit/tests/theme/wpThemeJson.php
- Timestamp:
- 06/30/2021 06:21:52 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r51281 r51287 17 17 * @ticket 52991 18 18 */ 19 function test_get_settings() {19 public function test_get_settings() { 20 20 $theme_json = new WP_Theme_JSON( 21 21 array( … … 68 68 * @ticket 53397 69 69 */ 70 function test_get_settings_presets_are_keyed_by_origin() {70 public function test_get_settings_presets_are_keyed_by_origin() { 71 71 $core_origin = new WP_Theme_JSON( 72 72 array( … … 196 196 * @ticket 53175 197 197 */ 198 function test_get_stylesheet() {198 public function test_get_stylesheet() { 199 199 $theme_json = new WP_Theme_JSON( 200 200 array( … … 317 317 * @ticket 52991 318 318 */ 319 function test_get_stylesheet_preset_classes_work_with_compounded_selectors() {319 public function test_get_stylesheet_preset_classes_work_with_compounded_selectors() { 320 320 $theme_json = new WP_Theme_JSON( 321 321 array( … … 347 347 * @ticket 53175 348 348 */ 349 function test_get_stylesheet_preset_rules_come_after_block_rules() {349 public function test_get_stylesheet_preset_rules_come_after_block_rules() { 350 350 $theme_json = new WP_Theme_JSON( 351 351 array( … … 671 671 * @ticket 52991 672 672 */ 673 function test_get_from_editor_settings() {673 public function test_get_from_editor_settings() { 674 674 $input = array( 675 675 'disableCustomColors' => true, … … 747 747 * @ticket 52991 748 748 */ 749 function test_get_editor_settings_no_theme_support() {749 public function test_get_editor_settings_no_theme_support() { 750 750 $input = array( 751 751 '__unstableEnableFullSiteEditingBlocks' => false, … … 802 802 * @ticket 52991 803 803 */ 804 function test_get_editor_settings_blank() {804 public function test_get_editor_settings_blank() { 805 805 $expected = array( 806 806 'version' => WP_Theme_JSON::LATEST_SCHEMA, … … 815 815 * @ticket 52991 816 816 */ 817 function test_get_editor_settings_custom_units_can_be_disabled() {817 public function test_get_editor_settings_custom_units_can_be_disabled() { 818 818 add_theme_support( 'custom-units', array() ); 819 819 $input = get_default_block_editor_settings(); … … 832 832 * @ticket 52991 833 833 */ 834 function test_get_editor_settings_custom_units_can_be_enabled() {834 public function test_get_editor_settings_custom_units_can_be_enabled() { 835 835 add_theme_support( 'custom-units' ); 836 836 $input = get_default_block_editor_settings(); … … 849 849 * @ticket 52991 850 850 */ 851 function test_get_editor_settings_custom_units_can_be_filtered() {851 public function test_get_editor_settings_custom_units_can_be_filtered() { 852 852 add_theme_support( 'custom-units', 'rem', 'em' ); 853 853 $input = get_default_block_editor_settings();
Note: See TracChangeset
for help on using the changeset viewer.