comments
[plcapi.git] / tests / PolyfillTestCase.php
index 5e2fcdc..14e42c9 100644 (file)
@@ -2,8 +2,10 @@
 
 use PHPUnit\Runner\Version as PHPUnit_Version;
 
-if (class_exists('PhpXmlRpc_PolyfillTestCase')) {
-    return;
+/// @todo we should do the opposite - write test code to the 'new' phpunit API, and alias it to the 'old' class name
+///       when old classes are present...
+if (!class_exists('PHPUnit_Extensions_SeleniumCommon_RemoteCoverage')) {
+    class PHPUnit_Extensions_SeleniumCommon_RemoteCoverage extends PHPUnit\Extensions\SeleniumCommon\RemoteCoverage {}
 }
 
 if (class_exists(PHPUnit_Version::class) === false || version_compare(PHPUnit_Version::id(), '8.0.0', '<')) {