Changeset 56492 for trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
- Timestamp:
- 08/30/2023 10:49:27 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php
r55822 r56492 82 82 83 83 public static function tear_down_after_class() { 84 static::$property_blocks_cache->setValue( WP_Theme_JSON_Resolver::class, static::$property_blocks_cache_orig_value );85 static::$property_core->setValue( WP_Theme_JSON_Resolver::class, static::$property_core_orig_value );84 static::$property_blocks_cache->setValue( null, static::$property_blocks_cache_orig_value ); 85 static::$property_core->setValue( null, static::$property_core_orig_value ); 86 86 parent::tear_down_after_class(); 87 87 } … … 760 760 $property = new ReflectionProperty( $theme_json_resolver, 'i18n_schema' ); 761 761 $property->setAccessible( true ); 762 $property->setValue( null );762 $property->setValue( null, null ); 763 763 764 764 // A completely empty theme.json data set still has the 'version' key when parsed.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)