Set posts to public
This commit is contained in:
parent
711b9600ab
commit
46a379d5a5
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ class Publisher(
|
||||||
val request = client.statuses.postStatus(
|
val request = client.statuses.postStatus(
|
||||||
status = release.text,
|
status = release.text,
|
||||||
language = "en",
|
language = "en",
|
||||||
visibility = Visibility.PRIVATE
|
visibility = Visibility.PUBLIC
|
||||||
)
|
)
|
||||||
try {
|
try {
|
||||||
if (!dryRun) {
|
if (!dryRun) {
|
||||||
|
|
|
@ -55,7 +55,7 @@ class PublishersTest : DescribeSpec({
|
||||||
|
|
||||||
val publisher = Publisher("example", mastodonClient)
|
val publisher = Publisher("example", mastodonClient)
|
||||||
|
|
||||||
xit("should send with correct visibility") {
|
it("should send with correct visibility") {
|
||||||
|
|
||||||
every {
|
every {
|
||||||
statuses.postStatus(
|
statuses.postStatus(
|
||||||
|
|
Loading…
Reference in a new issue