From 6bd4cd530e49bd204de301e9b929716bc83d03f1 Mon Sep 17 00:00:00 2001 From: Renato Alves <19148962+renatonascalves@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:37:54 -0300 Subject: [PATCH] Remove outdated duplicate test --- tests/feature/test-core-filters.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/feature/test-core-filters.php b/tests/feature/test-core-filters.php index f2f11f63..680c7cd2 100644 --- a/tests/feature/test-core-filters.php +++ b/tests/feature/test-core-filters.php @@ -241,20 +241,6 @@ public function test_author_link() { ); } - public function test_get_author_display_name_from_global_post(): void { - $author_name = 'Dumas Davy de la Pailleterie'; - $user = static::factory()->user->create_and_get( - [ 'display_name' => $author_name ] - ); - - $display_name = get_the_author_meta( 'display_name', $user->ID ); - - $this->assertSame( $author_name, $display_name ); - $this->assertNotSame( 'Byline 1', $display_name ); - $this->assertNotSame( 'Byline 2', $display_name ); - $this->assertNotSame( 'Byline 1 and Byline 2', $display_name ); - } - public function test_get_author_display_name_from_user(): void { $author_name = 'Dumas Davy de la Pailleterie'; $user = static::factory()->user->create_and_get(