projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d812a34
)
Check that the welcome message is sent from the correct user.
author
lain
<lain@soykaf.club>
Sat, 16 Feb 2019 16:24:31 +0000
(17:24 +0100)
committer
lain
<lain@soykaf.club>
Sat, 16 Feb 2019 16:24:31 +0000
(17:24 +0100)
test/user_test.exs
patch
|
blob
|
history
diff --git
a/test/user_test.exs
b/test/user_test.exs
index d89fe379f9502387de07323d3b341c69a4a1f73c..92991d063d49688b5598dc77d9f5313e4dc69439 100644
(file)
--- 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)