From: lain Date: Sat, 16 Feb 2019 16:24:31 +0000 (+0100) Subject: Check that the welcome message is sent from the correct user. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f469a8610f47d6d36b2bcaa1974a1744990db7b4;p=akkoma Check that the welcome message is sent from the correct user. --- 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)