summaryrefslogtreecommitdiff
path: root/src/tests/broken_conf_session_encryption_without_encryption_key.phpt
diff options
context:
space:
mode:
authorjvoisin2018-10-09 16:25:02 +0200
committerjvoisin2018-10-09 16:25:02 +0200
commit00daa2e8630f6b057c466ea5462364a0a522ca8f (patch)
tree416249a01e920a177a178e6e58a646ebabe53703 /src/tests/broken_conf_session_encryption_without_encryption_key.phpt
parent64c58fd116612900d33f9b0bb877f3f1753204d8 (diff)
Bump coverage
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.