summaryrefslogtreecommitdiff
path: root/src/tests/broken_configuration/broken_conf_cookie_encryption_without_encryption_key.phpt
blob: 90b497ca7f4ac3d6ef2a825a6d4b59870c9ab4e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Broken configuration - encrypted cookie without encryption key
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/broken_conf_cookie_encryption_without_encryption_key.ini
error_log=/dev/null
--FILE--
--EXPECT--
Fatal error: [snuffleupagus][0.0.0.0][config][log] You're trying to use the 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

Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0
Could not startup.