diff options
Diffstat (limited to 'src/tests/encrypt_cookies_empty_env.phpt')
| -rw-r--r-- | src/tests/encrypt_cookies_empty_env.phpt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/tests/encrypt_cookies_empty_env.phpt b/src/tests/encrypt_cookies_empty_env.phpt deleted file mode 100644 index 23f1759..0000000 --- a/src/tests/encrypt_cookies_empty_env.phpt +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Cookie encryption - empty environment variable specified | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | ||
| 5 | --INI-- | ||
| 6 | sp.configuration_file={PWD}/config/config_encrypted_cookies_empty_env.ini | ||
| 7 | display_errors=1 | ||
| 8 | display_startup_errors=1 | ||
| 9 | error_reporting=E_ALL | ||
| 10 | --COOKIE-- | ||
| 11 | super_cookie=cGFkZGluZ3BhZGRpbmdwYWRkaW5ncGFkZGluZ3BhZGRpbmdwYWRkaW5ncGFkZGluZ3BhZGRpbmdwYWRkaW5ncGFkZGluZwo= | ||
| 12 | --FILE-- | ||
| 13 | <?php echo "1\n\n\n\n\n"; ?> | ||
| 14 | --EXPECT-- | ||
| 15 | Warning: [snuffleupagus][cookie_encryption] The environment variable 'SUPER_ENV_VAR' is empty, cookies are weakly encrypted in Unknown on line 0 | ||
| 16 | |||
| 17 | Warning: [snuffleupagus][cookie_encryption] Something went wrong with the decryption of super_cookie in Unknown on line 0 | ||
| 18 | 1 | ||
