Skip to content

Commit a70fd53

Browse files
authored
Move regression tests of SOAP to bugs directory (#14322)
There's a bugs directory but it wasn't always used, move the regression tests to this directory.
1 parent 4f311f8 commit a70fd53

28 files changed

+8
-8
lines changed
File renamed without changes.

ext/soap/tests/bug47021.phpt renamed to ext/soap/tests/bugs/bug47021.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ soap.wsdl_cache_enabled=0
66
soap
77
--SKIPIF--
88
<?php
9-
require __DIR__.'/../../standard/tests/http/server.inc';
9+
require __DIR__.'/../../../standard/tests/http/server.inc';
1010
http_server_skipif();
1111
?>
1212
--FILE--
1313
<?php
14-
require __DIR__.'/../../standard/tests/http/server.inc';
14+
require __DIR__.'/../../../standard/tests/http/server.inc';
1515

1616
function chunk_body($body, $n)
1717
{
@@ -25,7 +25,7 @@ function chunk_body($body, $n)
2525
return join('', $chunks);
2626
}
2727

28-
$wsdl = file_get_contents(__DIR__.'/server030.wsdl');
28+
$wsdl = file_get_contents(__DIR__.'/../server030.wsdl');
2929

3030
$soap = <<<EOF
3131
<?xml version="1.0" encoding="UTF-8"?>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ext/soap/tests/bug73037.phpt renamed to ext/soap/tests/bugs/bug73037.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ soap
55
zlib
66
--SKIPIF--
77
<?php
8-
if (!file_exists(__DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc")) {
8+
if (!file_exists(__DIR__ . "/../../../../sapi/cli/tests/php_cli_server.inc")) {
99
echo "skip sapi/cli/tests/php_cli_server.inc required but not found";
1010
}
1111
?>
1212
--FILE--
1313
<?php
1414

15-
include __DIR__ . "/../../../sapi/cli/tests/php_cli_server.inc";
15+
include __DIR__ . "/../../../../sapi/cli/tests/php_cli_server.inc";
1616

1717
function get_data($max)
1818
{
File renamed without changes.

ext/soap/tests/bug75306.phpt renamed to ext/soap/tests/bugs/bug75306.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ soap
77
$options = array("cache_wsdl" => WSDL_CACHE_NONE);
88
// Need a warm-up for globals
99
for ($i = 0; $i < 10; $i++) {
10-
$client = new SoapClient(__DIR__ . "/test.wsdl", $options);
10+
$client = new SoapClient(__DIR__ . "/../test.wsdl", $options);
1111
}
1212
$usage = memory_get_usage();
1313
for ($i = 0; $i < 10; $i++) {
14-
$client = new SoapClient(__DIR__ . "/test.wsdl", $options);
14+
$client = new SoapClient(__DIR__ . "/../test.wsdl", $options);
1515
}
1616
$usage_delta = memory_get_usage() - $usage;
1717
var_dump($usage_delta);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ext/soap/tests/bug79536.phpt renamed to ext/soap/tests/bugs/bug79536.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $options=Array(
5252
"to_xml" => "book_to_xml"))
5353
);
5454

55-
$server = new SoapServer(__DIR__."/classmap.wsdl",$options);
55+
$server = new SoapServer(__DIR__."/../classmap.wsdl",$options);
5656
$server->setClass("test");
5757
$server->handle($HTTP_RAW_POST_DATA);
5858
echo "ok\n";
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)