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/broken_conf_samesite.phpt | |
| parent | e8da4951dabcddd04c6a2e6daa0dea08003e476f (diff) | |
removed redundant tests + minor fixes
Diffstat (limited to 'src/tests/broken_configuration/broken_conf_samesite.phpt')
| -rw-r--r-- | src/tests/broken_configuration/broken_conf_samesite.phpt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/broken_configuration/broken_conf_samesite.phpt b/src/tests/broken_configuration/broken_conf_samesite.phpt index 6328ad8..0a39915 100644 --- a/src/tests/broken_configuration/broken_conf_samesite.phpt +++ b/src/tests/broken_configuration/broken_conf_samesite.phpt | |||
| @@ -2,13 +2,11 @@ | |||
| 2 | Bad config, invalid samesite type. | 2 | Bad config, invalid samesite type. |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | <?php if (PHP_VERSION_ID >= 80000) print "skip"; ?> | ||
| 6 | --INI-- | 5 | --INI-- |
| 7 | sp.configuration_file={PWD}/config/broken_conf_cookie_samesite.ini | 6 | sp.configuration_file={PWD}/config/broken_conf_cookie_samesite.ini |
| 7 | error_log=/dev/null | ||
| 8 | --FILE-- | 8 | --FILE-- |
| 9 | --EXPECT-- | 9 | --EXPECT-- |
| 10 | PHP Fatal error: [snuffleupagus][0.0.0.0][config][log] 'nop' is an invalid value to samesite (expected Lax or Strict) on line 1 in Unknown on line 0 | ||
| 11 | |||
| 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] 'nop' is an invalid value to samesite (expected Lax or Strict) on line 1 in Unknown on line 0 | 10 | Fatal error: [snuffleupagus][0.0.0.0][config][log] 'nop' is an invalid value to samesite (expected Lax or Strict) on line 1 in Unknown on line 0 |
| 13 | 11 | ||
| 14 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 | 12 | Fatal error: [snuffleupagus][0.0.0.0][config][log] Invalid configuration file in Unknown on line 0 |
