Tests: Fix typo in `test_do_action_with_multiple_callbacks_on_different_priorities()`.

Props withinboredom.
Fixes #42311.

git-svn-id: https://develop.svn.wordpress.org/trunk@41971 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-10-23 13:03:34 +00:00
parent a77ccfad80
commit 1546ae8963
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class Tests_WP_Hook_Do_Action extends WP_UnitTestCase {
$arg = __FUNCTION__ . '_arg';
$hook->add_filter( $tag, $callback_one, $priority, $accepted_args );
$hook->add_filter( $tag, $callback_two, $priority, $accepted_args );
$hook->add_filter( $tag, $callback_two, $priority + 1, $accepted_args );
$hook->do_action( array( $arg ) );
$this->assertEquals( 1, $a->get_call_count() );