diff options
author | rinpatch <rinpatch@sdf.org> | 2019-01-18 10:35:52 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-01-18 10:35:52 +0300 |
commit | 7bc6208b2fa53b04d0d319e62c7c9b34d18e0e44 (patch) | |
tree | e3305f3229b2a805da3a0b65d4af70057eb4784e | |
parent | 997f4a5e09f8531f95ba3f13986b9dda583d046a (diff) | |
download | pleroma-7bc6208b2fa53b04d0d319e62c7c9b34d18e0e44.tar.gz |
Fix ostatus test
-rw-r--r-- | test/web/ostatus/ostatus_controller_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/web/ostatus/ostatus_controller_test.exs b/test/web/ostatus/ostatus_controller_test.exs index 5a94cb3b3..954abf5fe 100644 --- a/test/web/ostatus/ostatus_controller_test.exs +++ b/test/web/ostatus/ostatus_controller_test.exs @@ -131,12 +131,14 @@ defmodule Pleroma.Web.OStatus.OStatusControllerTest 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 |