diff options
author | lain <lain@soykaf.club> | 2020-08-11 10:55:10 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-08-11 10:55:10 +0200 |
commit | 677abbf0ee8d44f88e40f21526c401eb4ed8cc05 (patch) | |
tree | 7669034cb73935b8f9fde9df419d33cd56117346 /test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | |
parent | 7e4932362b7e672b08543cfd189deb3776268fe3 (diff) | |
parent | 024b7ce0b79f4f0c0106eefb9e7dcd459ced61b4 (diff) | |
download | pleroma-677abbf0ee8d44f88e40f21526c401eb4ed8cc05.tar.gz pleroma-677abbf0ee8d44f88e40f21526c401eb4ed8cc05.zip |
Merge branch 'fix/activity-expirations-again' of git.pleroma.social:pleroma/pleroma into fix/activity-expirations-again
Diffstat (limited to 'test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs')
-rw-r--r-- | test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs b/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs index b888e4c71..2e6704726 100644 --- a/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs +++ b/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs @@ -214,6 +214,10 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController.UpdateCredentialsTest do assert user_data = json_response_and_validate_schema(conn, 200) assert user_data["display_name"] == "markorepairs" + + update_activity = Repo.one(Pleroma.Activity) + assert update_activity.data["type"] == "Update" + assert update_activity.data["object"]["name"] == "markorepairs" end test "updates the user's avatar", %{user: user, conn: conn} do |