Changeset 42343 for trunk/tests/phpunit/tests/hooks/preinitHooks.php
- Timestamp:
- 11/30/2017 11:09:33 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/hooks/preinitHooks.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/hooks/preinitHooks.php
r42200 r42343 9 9 10 10 public function test_array_to_hooks() { 11 $tag1 = __FUNCTION__ . '_1';11 $tag1 = __FUNCTION__ . '_1'; 12 12 $priority1 = rand( 1, 100 ); 13 $tag2 = __FUNCTION__ . '_2';13 $tag2 = __FUNCTION__ . '_2'; 14 14 $priority2 = rand( 1, 100 ); 15 $filters = array(15 $filters = array( 16 16 $tag1 => array( 17 17 $priority1 => array( 18 18 'test1' => array( 19 'function' => '__return_false',19 'function' => '__return_false', 20 20 'accepted_args' => 2, 21 21 ), … … 25 25 $priority2 => array( 26 26 'test1' => array( 27 'function' => '__return_null',27 'function' => '__return_null', 28 28 'accepted_args' => 1, 29 29 ),
Note: See TracChangeset
for help on using the changeset viewer.