Query: Correct some coding standards after [49843].

See #44183

git-svn-id: https://develop.svn.wordpress.org/trunk@49846 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-12-21 00:31:54 +00:00
parent 00dd0ba3b0
commit f141418a5f

View File

@@ -605,9 +605,11 @@ class Tests_General_Template extends WP_UnitTestCase {
)
);
$this->factory()->post->create( [
'post_author' => $user_with_posts->ID,
] );
$this->factory()->post->create(
array(
'post_author' => $user_with_posts->ID,
)
);
// Simplify the assertion by removing the default archive title prefix:
add_filter( 'get_the_archive_title_prefix', '__return_empty_string' );