projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some test stuff.
[akkoma]
/
test
/
web
/
twitter_api
/
representers
/
object_representer_test.exs
diff --git
a/test/web/twitter_api/representers/object_representer_test.exs
b/test/web/twitter_api/representers/object_representer_test.exs
index ac8184407ecfe4ba8577c7e5318e9d736785d429..ebac051dc0005d2a574548c714f113acb4783072 100644
(file)
--- a/
test/web/twitter_api/representers/object_representer_test.exs
+++ b/
test/web/twitter_api/representers/object_representer_test.exs
@@
-34,13
+34,16
@@
defmodule Pleroma.Web.TwitterAPI.Representers.ObjectReprenterTest do
id: nil,
data: %{
"mediaType" => "image/png",
id: nil,
data: %{
"mediaType" => "image/png",
- "name" => "blabla", "type" => "Document",
- "url" => "http://mastodon.example.org/system/media_attachments/files/000/000/001/original/8619f31c6edec470.png"
+ "name" => "blabla",
+ "type" => "Document",
+ "url" =>
+ "http://mastodon.example.org/system/media_attachments/files/000/000/001/original/8619f31c6edec470.png"
}
}
expected_object = %{
}
}
expected_object = %{
- url: "http://mastodon.example.org/system/media_attachments/files/000/000/001/original/8619f31c6edec470.png",
+ url:
+ "http://mastodon.example.org/system/media_attachments/files/000/000/001/original/8619f31c6edec470.png",
mimetype: "image/png",
oembed: false,
id: nil
mimetype: "image/png",
oembed: false,
id: nil