test cleanups
[plcapi.git] / tests / 2InvalidHostTest.php
index 18c8f6c..c7419ec 100644 (file)
@@ -6,6 +6,8 @@ include_once __DIR__ . '/parse_args.php';
 
 include_once __DIR__ . '/PolyfillTestCase.php';
 
+use PHPUnit\Runner\BaseTestRunner;
+
 /**
  * Tests involving requests sent to non-existing servers
  */
@@ -32,8 +34,8 @@ class InvalidHostTest extends PhpXmlRpc_PolyfillTestCase
             return;
         $out = ob_get_clean();
         $status = $this->getStatus();
-        if ($status == PHPUnit_Runner_BaseTestRunner::STATUS_ERROR
-            || $status == PHPUnit_Runner_BaseTestRunner::STATUS_FAILURE) {
+        if ($status == BaseTestRunner::STATUS_ERROR
+            || $status == BaseTestRunner::STATUS_FAILURE) {
             echo $out;
         }
     }