diff --git a/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php b/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php index 080190ea7..09d2d2ec8 100644 --- a/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php +++ b/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php @@ -33,6 +33,11 @@ final class RelatedPostsTest extends PostTestBase { $this->assertSame('Post B', $relatedPosts->first()->label()); } + /** @test */ + public function unpublished_posts_are_not_returned(): void { + $this->markTestSkipped(); + } + /** @test */ public function it_returns_an_empty_collection_if_there_are_no_related_posts(): void { $postA = $this->postFactory