Changeset 55131
- Timestamp:
- 01/24/2023 04:03:26 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/kses.php
r55090 r55131 2093 2093 * @ticket 54060 2094 2094 * 2095 * @param string $global The name of the global variable.2096 */ 2097 public function test_kses_globals_are_defined( $global ) {2098 $this->assertArrayHasKey( $global , $GLOBALS );2095 * @param string $global_name The name of the global variable. 2096 */ 2097 public function test_kses_globals_are_defined( $global_name ) { 2098 $this->assertArrayHasKey( $global_name, $GLOBALS ); 2099 2099 } 2100 2100 … … 2105 2105 */ 2106 2106 public function data_kses_globals_are_defined() { 2107 $ globals = array(2107 $required_kses_globals = array( 2108 2108 'allowedposttags', 2109 2109 'allowedtags', … … 2112 2112 ); 2113 2113 2114 return $this->text_array_to_dataprovider( $ globals );2114 return $this->text_array_to_dataprovider( $required_kses_globals ); 2115 2115 } 2116 2116 }
Note: See TracChangeset
for help on using the changeset viewer.