Skip to content
Snippets Groups Projects
Commit f469a861 authored by lain's avatar lain
Browse files

Check that the welcome message is sent from the correct user.

parent d812a347
No related branches found
No related tags found
No related merge requests found
......@@ -212,6 +212,7 @@ defmodule Pleroma.UserTest do
activity = Repo.one(Pleroma.Activity)
assert registered_user.ap_id in activity.recipients
assert activity.data["object"]["content"] =~ "cool site"
assert activity.actor == welcome_user.ap_id
Pleroma.Config.put([:instance, :welcome_user_nickname], nil)
Pleroma.Config.put([:instance, :welcome_message], nil)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment