Skip to content

Commit

Permalink
Make bug49278.phpt more resilient
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cmb69 committed Jul 4, 2024
1 parent 0fb1238 commit de35468
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/soap/tests/bugs/bug49278.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -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
"

0 comments on commit de35468

Please sign in to comment.