File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ public function testGetRequestWithResponseBufferExceededRejects()
373373
374374 $ this ->expectException (\OverflowException::class);
375375 $ this ->expectExceptionMessage ('Response body size of 5 bytes exceeds maximum of 4 bytes ' );
376- $ this ->expectExceptionCode (defined ('SOCKET_EMSGSIZE ' ) ? SOCKET_EMSGSIZE : 0 );
376+ $ this ->expectExceptionCode (defined ('SOCKET_EMSGSIZE ' ) ? SOCKET_EMSGSIZE : 90 );
377377 await ($ promise );
378378 }
379379
@@ -383,7 +383,7 @@ public function testGetRequestWithResponseBufferExceededDuringStreamingRejects()
383383
384384 $ this ->expectException (\OverflowException::class);
385385 $ this ->expectExceptionMessage ('Response body size exceeds maximum of 4 bytes ' );
386- $ this ->expectExceptionCode (defined ('SOCKET_EMSGSIZE ' ) ? SOCKET_EMSGSIZE : 0 );
386+ $ this ->expectExceptionCode (defined ('SOCKET_EMSGSIZE ' ) ? SOCKET_EMSGSIZE : 90 );
387387 await ($ promise );
388388 }
389389
You can’t perform that action at this time.
0 commit comments