diff --git a/tests/phpunit/tests/hooks/doAction.php b/tests/phpunit/tests/hooks/doAction.php
index 18d62521ac..6aedbb5139 100755
|
a
|
b
|
class Tests_WP_Hook_Do_Action extends WP_UnitTestCase { |
| 77 | 77 | $arg = __FUNCTION__ . '_arg'; |
| 78 | 78 | |
| 79 | 79 | $hook->add_filter( $tag, $callback_one, $priority, $accepted_args ); |
| 80 | | $hook->add_filter( $tag, $callback_two, $priority, $accepted_args ); |
| | 80 | $hook->add_filter( $tag, $callback_two, $priority + 1, $accepted_args ); |
| 81 | 81 | $hook->do_action( array( $arg ) ); |
| 82 | 82 | |
| 83 | 83 | $this->assertEquals( 1, $a->get_call_count() ); |