projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a5b3c5
)
Fix OGP provider tests
author
rinpatch
<rinpatch@sdf.org>
Fri, 25 Jan 2019 07:51:06 +0000
(10:51 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 25 Jan 2019 07:51:06 +0000
(10:51 +0300)
test/web/metadata/opengraph_test.exs
patch
|
blob
|
history
diff --git
a/test/web/metadata/opengraph_test.exs
b/test/web/metadata/opengraph_test.exs
index c3502bad307d11092c8578f681c139e29603a02a..4283f72cdf22b588cef6619c8180f1c210ed43f3 100644
(file)
--- a/
test/web/metadata/opengraph_test.exs
+++ b/
test/web/metadata/opengraph_test.exs
@@
-48,7
+48,7
@@
defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do
}
})
- result = OpenGraph.build_tags(%{object: note, user: user})
+ result = OpenGraph.build_tags(%{object: note, u
rl: note.data["id"], u
ser: user})
assert Enum.all?(
[
@@
-85,7
+85,7
@@
defmodule Pleroma.Web.Metadata.Providers.OpenGraphTest do
}
})
- result = OpenGraph.build_tags(%{object: note, user: user})
+ result = OpenGraph.build_tags(%{object: note, u
rl: note.data["id"], u
ser: user})
assert {:meta, [property: "og:image", content: "https://pleroma.gov/tenshi.png"], []} in result