summaryrefslogtreecommitdiff
path: root/src/tests/xxe/disable_xxe_simplexml.phpt
diff options
context:
space:
mode:
authorBen Fuhrmannek2021-11-11 13:15:52 +0100
committerBen Fuhrmannek2021-11-11 13:15:52 +0100
commit713cb08b58d4e5dd5e7e80b1f82e27cbe52d4381 (patch)
treeb1bd945693215ca349180d44ae929f7f59427f09 /src/tests/xxe/disable_xxe_simplexml.phpt
parent9111fdf5e6332923a5faf9f8a7e6b428eb91795a (diff)
inverted logic. set xxe_protection.enable() instead of disable_xxe.disable()
Diffstat (limited to 'src/tests/xxe/disable_xxe_simplexml.phpt')
-rw-r--r--src/tests/xxe/disable_xxe_simplexml.phpt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/xxe/disable_xxe_simplexml.phpt b/src/tests/xxe/disable_xxe_simplexml.phpt
index 1d3ef4c..9560156 100644
--- a/src/tests/xxe/disable_xxe_simplexml.phpt
+++ b/src/tests/xxe/disable_xxe_simplexml.phpt
@@ -2,8 +2,9 @@
2Disable XXE 2Disable XXE
3--SKIPIF-- 3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml") || getenv('TRAVIS')) print("skip"); ?> 4<?php if (!extension_loaded("snuffleupagus") || !extension_loaded("simplexml") || getenv('TRAVIS')) print("skip"); ?>
5<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?>
5--INI-- 6--INI--
6sp.configuration_file={PWD}/config/disable_xxe.ini 7sp.configuration_file={PWD}/config/disable_xxe_disable.ini
7--EXTENSIONS-- 8--EXTENSIONS--
8simplexml 9simplexml
9--XFAIL-- 10--XFAIL--