X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Finfo_001.phpt;h=370d70ee5e157eda4aeb375f58c4b0c950d8c2e8;hp=e79abd40b5d1066bc98472a7779431fab4b25326;hb=7b3c686de9ef70f2124136b5a1b8dffa7602a4d7;hpb=d926a12aeec96752456eddfbf9a04a002809a0d2 diff --git a/tests/info_001.phpt b/tests/info_001.phpt index e79abd4..370d70e 100644 --- a/tests/info_001.phpt +++ b/tests/info_001.phpt @@ -24,28 +24,23 @@ var_dump(new http\Message("GET / HTTP/1.1")); ?> DONE --EXPECTF-- -exception 'http\Exception' with message 'could not parse message: GET HTTP/1.1' in %s +exception 'http\Exception\BadMessageException' with message 'Could not parse message: GET HTTP/1.1' in %s Stack trace: #0 %s: http\Message->__construct('GET HTTP/1.1') #1 {main} -exception 'http\Exception' with message 'could not parse message: GET HTTP/1.123' in %s +exception 'http\Exception\BadMessageException' with message 'Could not parse message: GET HTTP/1.123' in %s Stack trace: #0 %s: http\Message->__construct('GET HTTP/1.123') #1 {main} -exception 'http\Exception' with message 'could not parse message: GETHTTP/1.1' in %s +exception 'http\Exception\BadMessageException' with message 'Could not parse message: GETHTTP/1.1' in %s Stack trace: #0 %s: http\Message->__construct('GETHTTP/1.1') #1 {main} -object(http\Message)#%d (10) { - ["errorHandling":protected]=> - NULL +object(http\Message)#%d (9) { ["type":protected]=> int(1) ["body":protected]=> - object(http\Message\Body)#%d (1) { - ["errorHandling":protected]=> - NULL - } + NULL ["requestMethod":protected]=> string(3) "GET" ["requestUrl":protected]=>