style(feed): format Atom fallback assertion

This commit is contained in:
Lain Soykaf 2026-07-24 21:05:16 +04:00
commit 5d8b5a73d2
No known key found for this signature in database

View file

@ -169,7 +169,8 @@ defmodule Pleroma.Web.Feed.UserControllerTest do
|> get("/users/#{user.nickname}/feed.atom")
|> response(200)
assert response =~ "<script>alert('feed')</script>"
assert response =~
"<script>alert('feed')</script>"
content_values = response |> parse() |> xpath(~x"//entry/content/text()"sl)