mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-10-30 13:33:12 +00:00
11 lines
272 B
Elixir
11 lines
272 B
Elixir
|
defmodule Pleroma.Web.XMLTest do
|
||
|
use Pleroma.DataCase, async: true
|
||
|
|
||
|
alias Pleroma.Web.XML
|
||
|
|
||
|
test "refuses to load external entities from XML" do
|
||
|
data = File.read!("test/fixtures/xml_external_entities.xml")
|
||
|
assert(:error == XML.parse_document(data))
|
||
|
end
|
||
|
end
|