From 17179fbfe42360d2de9315d792c242c00ab711bd Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 13 Jan 2021 08:53:28 +0000 Subject: [PATCH] Add a placeholder test, mark as skipped References #344 --- .../custom/blog/tests/src/Kernel/RelatedPostsTest.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php b/web/modules/custom/blog/tests/src/Kernel/RelatedPostsTest.php index 080190e..09d2d2e 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