summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2020-10-08 15:44:48 -0500
committerAlex Gleason <alex@alexgleason.me>2020-10-08 15:44:48 -0500
commit77b1ea68a7700ac4a78c7f2e0ea9f118441d23da (patch)
tree06243af101a609256b517f48175380a7c4f5bfbb /test/web/mastodon_api/controllers/account_controller/update_credentials_test.exs
parent4af1b803811cbb59d41f0149706d6dda340b4755 (diff)
parent74be4de3f6c2c34447029649526637411acfa9f3 (diff)
downloadpleroma-77b1ea68a7700ac4a78c7f2e0ea9f118441d23da.tar.gz
pleroma-77b1ea68a7700ac4a78c7f2e0ea9f118441d23da.zip
Merge remote-tracking branch 'upstream/develop' into aliases
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.exs4
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 467110f3b..2da951048 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 AKAs", %{conn: conn} do