diff options
Diffstat (limited to 'src/tests/broken_conf_session_encryption_without_env_var.phpt')
| -rw-r--r-- | src/tests/broken_conf_session_encryption_without_env_var.phpt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tests/broken_conf_session_encryption_without_env_var.phpt b/src/tests/broken_conf_session_encryption_without_env_var.phpt new file mode 100644 index 0000000..c2654e4 --- /dev/null +++ b/src/tests/broken_conf_session_encryption_without_env_var.phpt | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | --TEST-- | ||
| 2 | Broken configuration - encrypted session without env var | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/broken_conf_session_encryption_without_env_var.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 `.cookie_env_var` 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 `.cookie_env_var` 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. | ||
