diff options
| author | Ben Fuhrmannek | 2022-01-12 19:51:09 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2022-01-12 19:51:09 +0100 |
| commit | 80228c69c19b131764cd5848071d25f7ba0ad249 (patch) | |
| tree | 4a35b22dbbb34ed4f334dc8fe591b57670e917ff /src/tests/broken_configuration_php8/encrypt_key_too_short.phpt | |
| parent | e8da4951dabcddd04c6a2e6daa0dea08003e476f (diff) | |
removed redundant tests + minor fixes
Diffstat (limited to 'src/tests/broken_configuration_php8/encrypt_key_too_short.phpt')
| -rw-r--r-- | src/tests/broken_configuration_php8/encrypt_key_too_short.phpt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/tests/broken_configuration_php8/encrypt_key_too_short.phpt b/src/tests/broken_configuration_php8/encrypt_key_too_short.phpt deleted file mode 100644 index c14785e..0000000 --- a/src/tests/broken_configuration_php8/encrypt_key_too_short.phpt +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | --TEST-- | ||
| 2 | Cookie encryption key too short | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | ||
| 5 | <?php if (PHP_VERSION_ID < 80000) print "skip"; ?> | ||
| 6 | --INI-- | ||
| 7 | sp.configuration_file={PWD}/../broken_configuration/config/config_encryption_key_short.ini | ||
| 8 | --COOKIE-- | ||
| 9 | --ENV-- | ||
| 10 | return <<<EOF | ||
| 11 | REMOTE_ADDR=2001:0db8:0000:0000:0000:fe00:0042:8329 | ||
| 12 | HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36 | ||
| 13 | HTTPS=1 | ||
| 14 | EOF; | ||
| 15 | --FILE-- | ||
| 16 | <?php | ||
| 17 | ?> | ||
| 18 | --EXPECT-- | ||
| 19 | Fatal error: [snuffleupagus][2001:0db8:0000:0000:0000:fe00:0042:8329][config][log] The encryption key set on line 1 is too short. please use at least 10 bytes in Unknown on line 0 | ||
| 20 | |||
| 21 | Fatal error: [snuffleupagus][2001:0db8:0000:0000:0000:fe00:0042:8329][config][log] Invalid configuration file in Unknown on line 0 | ||
| 22 | Could not startup. \ No newline at end of file | ||
