Explorar el Código

Merge pull request #950 from joanhey/better-tests

Improve tests
walkor hace 2 años
padre
commit
f3856199e0
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      tests/Feature/HttpConnectionTest.php
  2. 1 0
      tests/Feature/UdpConnectionTest.php

+ 1 - 0
tests/Feature/HttpConnectionTest.php

@@ -14,6 +14,7 @@ beforeAll(function () use (&$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo $process->getOutput();
     $process->stop();
 });
 

+ 1 - 0
tests/Feature/UdpConnectionTest.php

@@ -27,6 +27,7 @@ beforeAll(function () use ($serverAddress, &$process) {
 });
 
 afterAll(function () use (&$process) {
+    echo "\nUDP Test:\n", $process->getOutput();
     $process->stop();
 });