Changeset 56559 for trunk/tests/phpunit/tests/blocks/register.php
- Timestamp:
- 09/12/2023 03:21:02 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/blocks/register.php
r56527 r56559 958 958 */ 959 959 public function test_filter_block_registration() { 960 $filter_registration = static function ( $args, $name ) {960 $filter_registration = static function ( $args, $name ) { 961 961 $args['attributes'] = array( $name => array( 'type' => 'boolean' ) ); 962 962 return $args; … … 976 976 */ 977 977 public function test_filter_block_registration_metadata() { 978 $filter_metadata_registration = static function ( $metadata ) {978 $filter_metadata_registration = static function ( $metadata ) { 979 979 $metadata['apiVersion'] = 3; 980 980 return $metadata; … … 994 994 */ 995 995 public function test_filter_block_registration_metadata_settings() { 996 $filter_metadata_registration = static function ( $settings, $metadata ) {996 $filter_metadata_registration = static function ( $settings, $metadata ) { 997 997 $settings['api_version'] = $metadata['apiVersion'] + 1; 998 998 return $settings;
Note: See TracChangeset
for help on using the changeset viewer.