Skip to content

Commit de35468

Browse files
committed
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.
1 parent 0fb1238 commit de35468

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/soap/tests/bugs/bug49278.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ var_dump($client->__getLastResponseHeaders());
4141
--EXPECTF--
4242
string(0) ""
4343
string(0) ""
44-
string(177) "POST / HTTP/1.1
44+
string(%d) "POST / HTTP/1.1
4545
Host: %s
4646
Connection: Keep-Alive
47-
User-Agent: PHP-SOAP/8.4.0-dev
47+
User-Agent: PHP-SOAP/%s
4848
Content-Type: text/xml; charset=utf-8
4949
SOAPAction: "Add"
5050
Content-Length: %d
5151

5252
"
53-
string(165) "HTTP/1.1 200 OK
53+
string(%s) "HTTP/1.1 200 OK
5454
Host: %s
5555
Date: %s
5656
Connection: close
57-
X-Powered-By: PHP/8.4.0-dev
57+
X-Powered-By: PHP/%s
5858
Content-type: text/html; charset=UTF-8
5959
"

0 commit comments

Comments
 (0)