projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'hardening/disallow-ostatus-downgrade' into 'develop'
[akkoma]
/
test
/
web
/
metadata
/
opengraph_test.exs
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?(
[
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
assert {:meta, [property: "og:image", content: "https://pleroma.gov/tenshi.png"], []} in result