projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix-rate-limiter-test' into 'develop'
[akkoma]
/
test
/
web
/
static_fe
/
static_fe_controller_test.exs
diff --git
a/test/web/static_fe/static_fe_controller_test.exs
b/test/web/static_fe/static_fe_controller_test.exs
index effdfbeb3f12e9b6881fa1e13d29d4e370123bde..b8fb67b225b64e711dde0ad569b4432763201288 100644
(file)
--- a/
test/web/static_fe/static_fe_controller_test.exs
+++ b/
test/web/static_fe/static_fe_controller_test.exs
@@
-151,7
+151,7
@@
defmodule Pleroma.Web.StaticFE.StaticFEControllerTest do
assert html_response(conn, 404) =~ "not found"
end
assert html_response(conn, 404) =~ "not found"
end
- test "
404
for remote cached status", %{conn: conn} do
+ test "
302
for remote cached status", %{conn: conn} do
user = insert(:user)
message = %{
user = insert(:user)
message = %{
@@
-175,7
+175,7
@@
defmodule Pleroma.Web.StaticFE.StaticFEControllerTest do
|> put_req_header("accept", "text/html")
|> get("/notice/#{activity.id}")
|> put_req_header("accept", "text/html")
|> get("/notice/#{activity.id}")
- assert html_response(conn,
404) =~ "not foun
d"
+ assert html_response(conn,
302) =~ "redirecte
d"
end
end
end
end
end
end