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