diff --git a/Tests/client.php.inc b/Tests/client.php.inc index 20a1cef..48a78fa 100644 --- a/Tests/client.php.inc +++ b/Tests/client.php.inc @@ -73,10 +73,12 @@ try { if ($value instanceof Read && $value->getCode() === Read::C_READ) { $msg = $value->getMessage() ?? NULL; - var_dump($msg); if ($msg === NULL) { - $msg = stream_get_contents($value->getStream()); - var_dump($msg); + + $stream = $value->getStream(); + rewind($stream); + $msg = stream_get_contents($stream); + } $caseCount = (int) $msg;