diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-08-10 11:32:24 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-08-10 11:32:24 -0500 |
commit | 024b7ce0b79f4f0c0106eefb9e7dcd459ced61b4 (patch) | |
tree | d862c79e2296286af0b41d0a884796680627f298 /test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs | |
parent | e08ea01d09c67a93801aa05d33bad0eb24dfca8b (diff) | |
parent | 93fbf399543fead24f8066d0cba33a0a51b89dd3 (diff) | |
download | pleroma-024b7ce0b79f4f0c0106eefb9e7dcd459ced61b4.tar.gz pleroma-024b7ce0b79f4f0c0106eefb9e7dcd459ced61b4.zip |
Merge branch 'develop' 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 |