diff options
author | lain <lain@soykaf.club> | 2019-02-16 17:24:31 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-02-16 17:24:31 +0100 |
commit | f469a8610f47d6d36b2bcaa1974a1744990db7b4 (patch) | |
tree | 0cd42fc2b17d3ebd3806388f56eb8eb734d1fcd9 | |
parent | d812a347ca936dba764eb223fde029d83ca3fba0 (diff) | |
download | pleroma-f469a8610f47d6d36b2bcaa1974a1744990db7b4.tar.gz |
Check that the welcome message is sent from the correct user.
-rw-r--r-- | test/user_test.exs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/user_test.exs b/test/user_test.exs index d89fe379f..92991d063 100644 --- a/test/user_test.exs +++ b/test/user_test.exs @@ -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) |