mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-10 11:19:19 +00:00
Fix OGP provider tests
This commit is contained in:
parent
3a5b3c5a3a
commit
a45a903480
1 changed files with 2 additions and 2 deletions
|
@ -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, url: note.data["id"], user: 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, url: note.data["id"], user: user})
|
||||
|
||||
assert {:meta, [property: "og:image", content: "https://pleroma.gov/tenshi.png"], []} in result
|
||||
|
||||
|
|
Loading…
Reference in a new issue