diff options
| author | jvoisin | 2018-10-09 16:25:02 +0200 |
|---|---|---|
| committer | jvoisin | 2018-10-09 16:25:02 +0200 |
| commit | 00daa2e8630f6b057c466ea5462364a0a522ca8f (patch) | |
| tree | 416249a01e920a177a178e6e58a646ebabe53703 /src/tests/broken_conf_session_encryption_without_encryption_key.phpt | |
| parent | 64c58fd116612900d33f9b0bb877f3f1753204d8 (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.phpt | 14 |
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-- | ||
| 2 | Broken configuration - encrypted session without encryption key | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/broken_conf_session_encryption_without_encryption_key.ini | ||
| 7 | --FILE-- | ||
| 8 | --EXPECT-- | ||
| 9 | PHP 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 | |||
| 11 | 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 | ||
| 12 | |||
| 13 | Fatal error: [snuffleupagus][config] Invalid configuration file in Unknown on line 0 | ||
| 14 | Could not startup. | ||
