diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-10-13 16:15:28 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-10-13 16:15:28 -0500 |
commit | 8b20c4d2752d620cbcd8b5d122abe7d143878a97 (patch) | |
tree | b5a8ec6245d32d6eb945139ea4b4a4dddf158d70 | |
parent | 09be8cb33663e1e8a469e8b228e4e9c8ee769e32 (diff) | |
download | pleroma-8b20c4d2752d620cbcd8b5d122abe7d143878a97.tar.gz |
Missed tests
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/account_controller_test.exs | 2 | ||||
-rw-r--r-- | test/pleroma/web/mastodon_api/update_credentials_test.exs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs index 0b803b7ab..5164063be 100644 --- a/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/account_controller_test.exs @@ -1271,7 +1271,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountControllerTest do "follow_requests_count" => 0, "followers_count" => 0, "following_count" => 0, - "locked" => false, + "is_locked" => false, "note" => "", "source" => %{ "fields" => [], diff --git a/test/pleroma/web/mastodon_api/update_credentials_test.exs b/test/pleroma/web/mastodon_api/update_credentials_test.exs index 79d41d1bf..9340b3ae0 100644 --- a/test/pleroma/web/mastodon_api/update_credentials_test.exs +++ b/test/pleroma/web/mastodon_api/update_credentials_test.exs @@ -105,7 +105,7 @@ defmodule Pleroma.Web.MastodonAPI.UpdateCredentialsTest do conn = patch(conn, "/api/v1/accounts/update_credentials", %{is_locked: "true"}) assert user_data = json_response_and_validate_schema(conn, 200) - assert user_data["locked"] == true + assert user_data["is_locked"] == true end test "updates the user's chat acceptance status", %{conn: conn} do |