test: transmogrifier: add test proving that transmogrifier can handle outgoing listens

This commit is contained in:
Ariadne Conill 2019-09-28 11:57:24 +00:00
parent 53506da414
commit e7309d3b60
1 changed files with 8 additions and 0 deletions

View File

@ -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