forked from mirrors/akkoma
Fix ostatus test
This commit is contained in:
parent
997f4a5e09
commit
7bc6208b2f
1 changed files with 2 additions and 0 deletions
|
@ -131,12 +131,14 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest do
|
||||||
object = Object.get_by_ap_id(note_activity.data["object"]["id"])
|
object = Object.get_by_ap_id(note_activity.data["object"]["id"])
|
||||||
|
|
||||||
conn
|
conn
|
||||||
|
|> put_req_header("accept", "application/xml")
|
||||||
|> get("/objects/#{uuid}")
|
|> get("/objects/#{uuid}")
|
||||||
|> response(200)
|
|> response(200)
|
||||||
|
|
||||||
Object.delete(object)
|
Object.delete(object)
|
||||||
|
|
||||||
conn
|
conn
|
||||||
|
|> put_req_header("accept", "application/xml")
|
||||||
|> get("/objects/#{uuid}")
|
|> get("/objects/#{uuid}")
|
||||||
|> response(404)
|
|> response(404)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue