Changeset 42343 for trunk/tests/phpunit/tests/hooks/removeAllFilters.php
- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/removeAllFilters.php
r42200 r42343 9 9 10 10 public function test_remove_all_filters() { 11 $callback = '__return_null';12 $hook = new WP_Hook();13 $tag = __FUNCTION__;14 $priority = rand( 1, 100 );11 $callback = '__return_null'; 12 $hook = new WP_Hook(); 13 $tag = __FUNCTION__; 14 $priority = rand( 1, 100 ); 15 15 $accepted_args = rand( 1, 100 ); 16 16 … … 23 23 24 24 public function test_remove_all_filters_with_priority() { 25 $callback_one = '__return_null';26 $callback_two = '__return_false';27 $hook = new WP_Hook();28 $tag = __FUNCTION__;29 $priority = rand( 1, 100 );25 $callback_one = '__return_null'; 26 $callback_two = '__return_false'; 27 $hook = new WP_Hook(); 28 $tag = __FUNCTION__; 29 $priority = rand( 1, 100 ); 30 30 $accepted_args = rand( 1, 100 ); 31 31
Note: See TracChangeset
for help on using the changeset viewer.