From 232f5bfa65d05c4d93fe577c134cbbfcb30f30a0 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Wed, 10 Jan 2024 14:59:50 -0600 Subject: [PATCH] Update test to reflect changes in r57265 --- .../block-templates/buildBlockTemplateResultFromFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php b/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php index efc93d6ac3688..3aedcf0c2c7b8 100644 --- a/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php +++ b/tests/phpunit/tests/block-templates/buildBlockTemplateResultFromFile.php @@ -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 ); } @@ -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 ); }