style(feed): format Atom fallback assertion
This commit is contained in:
parent
c5230d98c5
commit
5d8b5a73d2
1 changed files with 2 additions and 1 deletions
|
|
@ -169,7 +169,8 @@ defmodule Pleroma.Web.Feed.UserControllerTest do
|
||||||
|> get("/users/#{user.nickname}/feed.atom")
|
|> get("/users/#{user.nickname}/feed.atom")
|
||||||
|> response(200)
|
|> response(200)
|
||||||
|
|
||||||
assert response =~ "<script>alert('feed')</script>"
|
assert response =~
|
||||||
|
"<script>alert('feed')</script>"
|
||||||
|
|
||||||
content_values = response |> parse() |> xpath(~x"//entry/content/text()"sl)
|
content_values = response |> parse() |> xpath(~x"//entry/content/text()"sl)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue