From 032718b7cb93c4143877e355e9bcb6935d8cedcf Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 28 Dec 2020 20:45:33 +0100 Subject: Add tests for broken configuration on php8 --- .../broken_conf_allow_broken_enabled.phpt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tests/broken_configuration_php8/broken_conf_allow_broken_enabled.phpt (limited to 'src/tests/broken_configuration_php8/broken_conf_allow_broken_enabled.phpt') diff --git a/src/tests/broken_configuration_php8/broken_conf_allow_broken_enabled.phpt b/src/tests/broken_configuration_php8/broken_conf_allow_broken_enabled.phpt new file mode 100644 index 0000000..eccc8a8 --- /dev/null +++ b/src/tests/broken_configuration_php8/broken_conf_allow_broken_enabled.phpt @@ -0,0 +1,16 @@ +--TEST-- +Broken configuration with allow broken turned on +--SKIPIF-- + + +--INI-- +sp.configuration_file={PWD}/config/broken_conf.ini +sp.allow_broken_configuration=On +--FILE-- + +--EXPECT-- + +Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration prefix for 'this is a broken line' on line 1 in Unknown on line 0 +1337 -- cgit v1.3