media_attachments: [],
mentions: [],
tags: [],
- application: nil,
+ application: %{
+ name: "Web",
+ website: nil
+ },
language: nil
}
type: "image",
url: "someurl",
remote_url: "someurl",
- preview_url: "someurl"
+ preview_url: "someurl",
+ text_url: "someurl"
}
assert expected == StatusView.render("attachment.json", %{attachment: object})