summaryrefslogtreecommitdiff
path: root/src/tests/broken_conf_session_encryption_without_encryption_key.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/broken_conf_session_encryption_without_encryption_key.phpt')
-rw-r--r--src/tests/broken_conf_session_encryption_without_encryption_key.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/broken_conf_session_encryption_without_encryption_key.phpt b/src/tests/broken_conf_session_encryption_without_encryption_key.phpt
new file mode 100644
index 0000000..c90a154
--- /dev/null
+++ b/src/tests/broken_conf_session_encryption_without_encryption_key.phpt
@@ -0,0 +1,14 @@
1--TEST--
2Broken configuration - encrypted session without encryption key
3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
5--INI--
6sp.configuration_file={PWD}/config/broken_conf_session_encryption_without_encryption_key.ini
7--FILE--
8--EXPECT--
9PHP Fatal error: [snuffleupagus][config] You're trying to use the session cookie encryption feature on line 2 without having set the `.secret_key` option in`sp.global`: please set it first in Unknown on line 0
10
11Fatal error: [snuffleupagus][config] You're trying to use the session cookie encryption feature on line 2 without having set the `.secret_key` option in`sp.global`: please set it first in Unknown on line 0
12
13Fatal error: [snuffleupagus][config] Invalid configuration file in Unknown on line 0
14Could not startup.