Skip to content

Commit

Permalink
Remove outdated duplicate test
Browse files Browse the repository at this point in the history
  • Loading branch information
renatonascalves committed Nov 16, 2023
1 parent 0e27646 commit 6bd4cd5
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions tests/feature/test-core-filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6bd4cd5

Please sign in to comment.