summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-05-22 11:45:31 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-05-22 11:45:31 +0200
commit224353a18f2e2621f76f272925eba06933b857b7 (patch)
tree9eb6a3bd69747c101a5ad22fd6ad3426fdcfb247
parent3a76ef3d5d0db7c2def31f01298d2c73d0e7ac5e (diff)
parentb162c8f55a3d92f611febbcc14014eb2ca3244ac (diff)
downloadphp-git-224353a18f2e2621f76f272925eba06933b857b7.tar.gz
Merge branch 'PHP-7.4'
-rw-r--r--ext/soap/tests/bugs/bug44811.phpt5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/soap/tests/bugs/bug44811.phpt b/ext/soap/tests/bugs/bug44811.phpt
index 8cfc4a76cd..08e0604100 100644
--- a/ext/soap/tests/bugs/bug44811.phpt
+++ b/ext/soap/tests/bugs/bug44811.phpt
@@ -2,18 +2,19 @@
Bug #44811 (Improve error messages when creating new SoapClient which contains invalid data)
--SKIPIF--
<?php require_once 'skipif.inc'; ?>
+<?php if (getenv("SKIP_ONLINE_TESTS")) die("skip online test"); ?>
--INI--
soap.wsdl_cache_enabled=0
--FILE--
<?php
try {
- $x = new SoapClient('http://slashdot.org');
+ $x = new SoapClient('https://php.net');
} catch (SoapFault $e) {
echo $e->getMessage() . PHP_EOL;
}
die('ok');
?>
--EXPECTF--
-SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://slashdot.org' : %s
+SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://php.net' : %s
ok