Skip to content

Commit

Permalink
Update test to reflect changes in r57265
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Jan 10, 2024
1 parent 543c9f5 commit 232f5bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function test_should_build_template() {
$this->assertSame( 'publish', $template->status );
$this->assertSame( 'theme', $template->source );
$this->assertSame( 'Single Posts', $template->title );
$this->assertSame( 'Displays single posts on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
$this->assertSame( 'Displays a single post on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
$this->assertSame( 'wp_template', $template->type );
$this->assertEmpty( $template->modified );
}
Expand Down Expand Up @@ -64,7 +64,7 @@ public function test_should_enforce_default_properties_when_building_template()

$this->assertSame( 'single', $template->slug );
$this->assertSame( 'Single Posts', $template->title );
$this->assertSame( 'Displays single posts on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
$this->assertSame( 'Displays a single post on your website unless a custom template has been applied to that post or a dedicated template exists.', $template->description );
$this->assertFalse( $template->is_custom );
}

Expand Down

0 comments on commit 232f5bf

Please sign in to comment.