diff --git a/tests/phpunit/tests/general/template.php b/tests/phpunit/tests/general/template.php index 048c1aea86..f434efdf73 100644 --- a/tests/phpunit/tests/general/template.php +++ b/tests/phpunit/tests/general/template.php @@ -594,7 +594,7 @@ class Tests_General_Template extends WP_UnitTestCase { * @ticket 44183 */ function test_get_the_archive_title_is_correct_for_author_queries() { - $user_with_posts = $this->factory()->user->create_and_get( + $user_with_posts = $this->factory()->user->create_and_get( array( 'role' => 'author', )