From 46a379d5a591fe0a825ba9eca304bc9462f17574 Mon Sep 17 00:00:00 2001 From: Ryan Harg Date: Fri, 16 Feb 2024 05:50:51 +0100 Subject: [PATCH] Set posts to public --- .../main/kotlin/de/rpr/githubreleases/publishing/Publisher.kt | 2 +- .../kotlin/de/rpr/githubreleases/publishing/PublishersTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/de/rpr/githubreleases/publishing/Publisher.kt b/app/src/main/kotlin/de/rpr/githubreleases/publishing/Publisher.kt index c64d87e..eb31d8c 100644 --- a/app/src/main/kotlin/de/rpr/githubreleases/publishing/Publisher.kt +++ b/app/src/main/kotlin/de/rpr/githubreleases/publishing/Publisher.kt @@ -22,7 +22,7 @@ class Publisher( val request = client.statuses.postStatus( status = release.text, language = "en", - visibility = Visibility.PRIVATE + visibility = Visibility.PUBLIC ) try { if (!dryRun) { diff --git a/app/src/test/kotlin/de/rpr/githubreleases/publishing/PublishersTest.kt b/app/src/test/kotlin/de/rpr/githubreleases/publishing/PublishersTest.kt index a4c5f03..9c99375 100644 --- a/app/src/test/kotlin/de/rpr/githubreleases/publishing/PublishersTest.kt +++ b/app/src/test/kotlin/de/rpr/githubreleases/publishing/PublishersTest.kt @@ -55,7 +55,7 @@ class PublishersTest : DescribeSpec({ val publisher = Publisher("example", mastodonClient) - xit("should send with correct visibility") { + it("should send with correct visibility") { every { statuses.postStatus(