Fix object id in OpenGraph test
This commit is contained in:
parent
a95d5da607
commit
64143d8040
|
@ -14,6 +14,7 @@ test "it renders all supported types of attachments and skips unknown types" do
|
||||||
data: %{
|
data: %{
|
||||||
"actor" => user.ap_id,
|
"actor" => user.ap_id,
|
||||||
"tag" => [],
|
"tag" => [],
|
||||||
|
"id" => "https://pleroma.gov/objects/whatever",
|
||||||
"content" => "pleroma in a nutshell",
|
"content" => "pleroma in a nutshell",
|
||||||
"attachment" => [
|
"attachment" => [
|
||||||
%{
|
%{
|
||||||
|
@ -81,6 +82,7 @@ test "it does not render attachments if post is nsfw" do
|
||||||
insert(:note, %{
|
insert(:note, %{
|
||||||
data: %{
|
data: %{
|
||||||
"actor" => user.ap_id,
|
"actor" => user.ap_id,
|
||||||
|
"id" => "https://pleroma.gov/objects/whatever",
|
||||||
"content" => "#cuteposting #nsfw #hambaga",
|
"content" => "#cuteposting #nsfw #hambaga",
|
||||||
"tag" => ["cuteposting", "nsfw", "hambaga"],
|
"tag" => ["cuteposting", "nsfw", "hambaga"],
|
||||||
"attachment" => [
|
"attachment" => [
|
||||||
|
|
Loading…
Reference in a new issue