1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00

Make bug49278.phpt more resilient

Due to the hard-coded PHP version, that test easily fails[1], so we
relax the test expectations.

[1] e.g. <https://github.com/cmb69/php-ftw/actions/runs/9784934000/job/27016894692#step:5:66>

Closes GH-14817.
This commit is contained in:
Christoph M. Becker
2024-07-04 14:53:54 +02:00
parent 0fb12385fb
commit de354683a0
+4 -4
View File
@@ -41,19 +41,19 @@ var_dump($client->__getLastResponseHeaders());
--EXPECTF--
string(0) ""
string(0) ""
string(177) "POST / HTTP/1.1
string(%d) "POST / HTTP/1.1
Host: %s
Connection: Keep-Alive
User-Agent: PHP-SOAP/8.4.0-dev
User-Agent: PHP-SOAP/%s
Content-Type: text/xml; charset=utf-8
SOAPAction: "Add"
Content-Length: %d
"
string(165) "HTTP/1.1 200 OK
string(%s) "HTTP/1.1 200 OK
Host: %s
Date: %s
Connection: close
X-Powered-By: PHP/8.4.0-dev
X-Powered-By: PHP/%s
Content-type: text/html; charset=UTF-8
"