projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c46d035
)
static-fe tests: fix to work on stable
author
rinpatch
<rinpatch@sdf.org>
Sun, 15 Mar 2020 21:17:28 +0000
(
00:17
+0300)
committer
rinpatch
<rinpatch@sdf.org>
Sun, 15 Mar 2020 21:17:28 +0000
(
00:17
+0300)
test/web/static_fe/static_fe_controller_test.exs
patch
|
blob
|
history
diff --git
a/test/web/static_fe/static_fe_controller_test.exs
b/test/web/static_fe/static_fe_controller_test.exs
index a3be908887c3c407a7745a0095268bac99f0f93f..2c999295aa9df75a7575200ed0f2a3ebcaf00b2b 100644
(file)
--- a/
test/web/static_fe/static_fe_controller_test.exs
+++ b/
test/web/static_fe/static_fe_controller_test.exs
@@
-123,7
+123,8
@@
defmodule Pleroma.Web.StaticFE.StaticFEControllerTest do
assert html =~ ~s[<script>alert('xss')</script>]
end
- test "shows the whole thread", %{conn: conn, user: user} do
+ test "shows the whole thread", %{conn: conn} do
+ user = insert(:user)
{:ok, activity} = CommonAPI.post(user, %{"status" => "space: the final frontier"})
CommonAPI.post(user, %{