diff options
| author | jvoisin | 2020-12-01 09:47:51 +0100 |
|---|---|---|
| committer | GitHub | 2020-12-01 09:47:51 +0100 |
| commit | 3b68dad2122d7e4a87a60f7161b7bc35d7c9b708 (patch) | |
| tree | 419c4ca82adc0af0054cfd6f42e16cf7f89e30fd /src/tests/cookies_encryption_warning | |
| parent | a60798c68db2dd627987e1429b169dbcd460bf2a (diff) | |
In tests, don't `die("skip")` but `print "skip"` instead (#358)
This is required since the `die` is making php8 choke
Diffstat (limited to 'src/tests/cookies_encryption_warning')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt b/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt index 7ef193a..015c159 100644 --- a/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_cookies_no_env.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Cookie encryption - no environment variable specified | 2 | Cookie encryption - no environment variable specified |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/encrypt_cookies_no_env.ini | 6 | sp.configuration_file={PWD}/config/encrypt_cookies_no_env.ini |
| 7 | display_errors=1 | 7 | display_errors=1 |
diff --git a/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt b/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt index a633652..42f5509 100644 --- a/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_cookies_no_key.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Cookie encryption - no encryption key specified | 2 | Cookie encryption - no encryption key specified |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/encrypt_cookies_no_key.ini | 6 | sp.configuration_file={PWD}/config/encrypt_cookies_no_key.ini |
| 7 | display_errors=1 | 7 | display_errors=1 |
diff --git a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt index d40b9a9..163cb26 100644 --- a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_env.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Cookie encryption - no environment variable specified | 2 | Cookie encryption - no environment variable specified |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_env.ini | 6 | sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_env.ini |
| 7 | display_errors=1 | 7 | display_errors=1 |
diff --git a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt index d03f28f..df31f2e 100644 --- a/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt +++ b/src/tests/cookies_encryption_warning/encrypt_regexp_cookies_no_key.phpt | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | --TEST-- | 1 | --TEST-- |
| 2 | Cookie encryption - no encryption key specified | 2 | Cookie encryption - no encryption key specified |
| 3 | --SKIPIF-- | 3 | --SKIPIF-- |
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) print "skip"; ?> |
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_key.ini | 6 | sp.configuration_file={PWD}/config/encrypt_regexp_cookies_no_key.ini |
| 7 | display_errors=1 | 7 | display_errors=1 |
