Fix ostatus test
This commit is contained in:
parent
997f4a5e09
commit
7bc6208b2f
|
@ -131,12 +131,14 @@ test "404s on deleted objects", %{conn: conn} do
|
|||
object = Object.get_by_ap_id(note_activity.data["object"]["id"])
|
||||
|
||||
conn
|
||||
|> put_req_header("accept", "application/xml")
|
||||
|> get("/objects/#{uuid}")
|
||||
|> response(200)
|
||||
|
||||
Object.delete(object)
|
||||
|
||||
conn
|
||||
|> put_req_header("accept", "application/xml")
|
||||
|> get("/objects/#{uuid}")
|
||||
|> response(404)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue