Skip to content

Commit

Permalink
Enable 3 more tests
Browse files Browse the repository at this point in the history
PHP8 is changing the capitalization of the error message
  • Loading branch information
jvoisin committed Dec 31, 2020
1 parent 69b4fca commit 6db0b53
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions src/tests/stream_wrapper/stream_wrapper.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ Stream wrapper
if (!extension_loaded("snuffleupagus")) print "skip snuffleupagus extension missing";
if (!extension_loaded("openssl")) print "skip openssl extension missing";
?>
<?php if (PHP_VERSION_ID >= 80000) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_stream_wrapper.ini
--FILE--
Expand All @@ -26,10 +25,10 @@ Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget

Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: %s

Warning: file_get_contents(https://qweqwezxc): failed to open stream: php_network_getaddresses: getaddrinfo failed: %s
Warning: file_get_contents(https://qweqwezxc): %s to open stream: php_network_getaddresses: getaddrinfo failed: %s

Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper.php on line %d
Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper.php on line %d

Warning: file_get_contents(): Unable to find the wrapper "lelel" - did you forget to enable it when you configured PHP? in %a/stream_wrapper.php on line %d

Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper.php on line %d
Warning: file_get_contents(lelel://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper.php on line %d
2 changes: 1 addition & 1 deletion src/tests/stream_wrapper/stream_wrapper_register.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ Warning: fopen(): Unable to find the wrapper "lolol" - did you forget to enable

Warning: fopen(): file:// wrapper is disabled in the server configuration in %a/stream_wrapper_register.php on line %d

Warning: fopen(lolol://asdasd): failed to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d
Warning: fopen(lolol://asdasd): %s to open stream: no suitable wrapper could be found in %a/stream_wrapper_register.php on line %d
6 changes: 3 additions & 3 deletions src/tests/stream_wrapper/stream_wrapper_without_openssl.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ Warning: Unknown: Unable to find the wrapper "php" - did you forget to enable it

Warning: file_get_contents(): Unable to find the wrapper "http" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_without_openssl.php on line 2

Warning: file_get_contents(http://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 2
Warning: file_get_contents(http://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 2

Warning: file_get_contents(ftp://qweqwezxc): failed to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3
Warning: file_get_contents(ftp://qweqwezxc): %s to open stream: operation failed in %a/stream_wrapper_without_openssl.php on line 3

Warning: file_get_contents(): Unable to find the wrapper "lelel" - did you forget to enable it when you configured PHP? in %a/stream_wrapper_without_openssl.php on line 4

Warning: file_get_contents(lelel://qweqwezxc): failed to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4
Warning: file_get_contents(lelel://qweqwezxc): %s to open stream: No such file or directory in %a/stream_wrapper_without_openssl.php on line 4

0 comments on commit 6db0b53

Please sign in to comment.