X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2FPolyfillTestCase.php;h=5e2fcdc5ce0f7e88d320477e6b6d673d94eff356;hb=4bc4479a1d44d15b2ddd25ab84d64ed8a5dafea5;hp=5dc896173d924933969a79d6121c4ad1b6eded54;hpb=f5456e63644d3d34194912d7c371759807be30ed;p=plcapi.git diff --git a/tests/PolyfillTestCase.php b/tests/PolyfillTestCase.php index 5dc89617..5e2fcdc5 100644 --- a/tests/PolyfillTestCase.php +++ b/tests/PolyfillTestCase.php @@ -1,47 +1,13 @@ _run($result); - } - - public static function fail($message = '') { - static::_fail($message); - self::fail($message); - } - } + include_once __DIR__ . '/PolyfillTestCase7.php'; } else { - abstract class PhpXmlRpc_PolyfillTestCase extends TestCase - { - public function _run(TestResult $result = null) { - return parent::run($result); - } - - public static function _fail() {} - - public function run(TestResult $result = null): TestResult { - return $this->_run($result); - } - - public static function fail(string $message = ''): void { - static::_fail($message); - parent::fail($message); - } - } + include_once __DIR__ . '/PolyfillTestCase8.php'; }