forked from AkkomaGang/akkoma
test: transmogrifier: add test proving that transmogrifier can handle outgoing listens
This commit is contained in:
parent
53506da414
commit
e7309d3b60
1 changed files with 8 additions and 0 deletions
|
@ -1219,6 +1219,14 @@ test "it strips BCC field" do
|
|||
|
||||
assert is_nil(modified["bcc"])
|
||||
end
|
||||
|
||||
test "it can handle Listen activities" do
|
||||
listen_activity = insert(:listen)
|
||||
|
||||
{:ok, modified} = Transmogrifier.prepare_outgoing(listen_activity.data)
|
||||
|
||||
assert modified["type"] == "Listen"
|
||||
end
|
||||
end
|
||||
|
||||
describe "user upgrade" do
|
||||
|
|
Loading…
Reference in a new issue