projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
997f4a5
)
Fix ostatus test
author
rinpatch
<rinpatch@sdf.org>
Fri, 18 Jan 2019 07:35:52 +0000
(10:35 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Fri, 18 Jan 2019 07:35:52 +0000
(10:35 +0300)
test/web/ostatus/ostatus_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/ostatus/ostatus_controller_test.exs
b/test/web/ostatus/ostatus_controller_test.exs
index 5a94cb3b3b8180540ab4342d44025da19c9a2c8e..954abf5fe96559aaff1ecbd274d979465f679352 100644
(file)
--- 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