Changeset 46466
- Timestamp:
- 10/12/2019 03:00:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/pluggable.php
r43571 r46466 12 12 * @ticket 33867 13 13 * 14 * @dataProvider get DefinedPluggableFunctions14 * @dataProvider get_defined_pluggable_functions 15 15 */ 16 public function test PluggableFunctionSignaturesMatch( $function ) {17 18 $signatures = $this->get PluggableFunctionSignatures();16 public function test_pluggable_function_signatures_match( $function ) { 17 18 $signatures = $this->get_pluggable_function_signatures(); 19 19 20 20 $this->assertTrue( function_exists( $function ) ); … … 55 55 * @ticket 33867 56 56 */ 57 public function test AllPluggableFunctionsExist() {58 59 $defined = wp_list_pluck( $this->get DefinedPluggableFunctions(), 0 );60 $expected = $this->get PluggableFunctionSignatures();57 public function test_all_pluggable_functions_exist() { 58 59 $defined = wp_list_pluck( $this->get_defined_pluggable_functions(), 0 ); 60 $expected = $this->get_pluggable_function_signatures(); 61 61 62 62 foreach ( $expected as $function => $sig ) { … … 73 73 * @return array Data provider array of pluggable function names. 74 74 */ 75 public function get DefinedPluggableFunctions() {75 public function get_defined_pluggable_functions() { 76 76 77 77 require_once ABSPATH . '/wp-admin/includes/upgrade.php'; … … 121 121 * @return array Array of signatures keyed by their function name. 122 122 */ 123 public function get PluggableFunctionSignatures() {123 public function get_pluggable_function_signatures() { 124 124 125 125 $signatures = array(
Note: See TracChangeset
for help on using the changeset viewer.