diff options
author | lain <lain@soykaf.club> | 2020-05-21 15:00:05 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-21 15:00:05 +0200 |
commit | 814c3e51714b2a7de30ed751a6aef361fc712807 (patch) | |
tree | e0db564ad32b79a357095a7b1131787b23b06fb9 /test/web/mastodon_api/controllers/status_controller_test.exs | |
parent | d19c7167704308df093f060082639c0a15996af7 (diff) | |
parent | 42b06d78dfc9cec2a31bcb4676cc0135863ca97d (diff) | |
download | pleroma-814c3e51714b2a7de30ed751a6aef361fc712807.tar.gz pleroma-814c3e51714b2a7de30ed751a6aef361fc712807.zip |
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms
Diffstat (limited to 'test/web/mastodon_api/controllers/status_controller_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/status_controller_test.exs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/web/mastodon_api/controllers/status_controller_test.exs b/test/web/mastodon_api/controllers/status_controller_test.exs index bdee88fd3..962e64b03 100644 --- a/test/web/mastodon_api/controllers/status_controller_test.exs +++ b/test/web/mastodon_api/controllers/status_controller_test.exs @@ -62,7 +62,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do |> post("/api/v1/statuses", %{ "status" => "cofe", "spoiler_text" => "2hu", - "sensitive" => "false" + "sensitive" => "0" }) {:ok, ttl} = Cachex.ttl(:idempotency_cache, idempotency_key) @@ -81,7 +81,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do |> post("/api/v1/statuses", %{ "status" => "cofe", "spoiler_text" => "2hu", - "sensitive" => "false" + "sensitive" => 0 }) assert %{"id" => second_id} = json_response(conn_two, 200) @@ -93,7 +93,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusControllerTest do |> post("/api/v1/statuses", %{ "status" => "cofe", "spoiler_text" => "2hu", - "sensitive" => "false" + "sensitive" => "False" }) assert %{"id" => third_id} = json_response_and_validate_schema(conn_three, 200) |