From: Tobias Diekershoff Date: Mon, 23 Apr 2018 06:53:46 +0000 (+0200) Subject: there are more then 1 test ATM X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61a380975b193cf127aa9e38b4aa1e938e0358ff;p=friendica.git there are more then 1 test ATM --- diff --git a/tests/TextTest.php b/tests/TextTest.php index 3a15b97665..5baaa17ac2 100644 --- a/tests/TextTest.php +++ b/tests/TextTest.php @@ -5,12 +5,16 @@ namespace Friendica\Test; -use PHPUnit_Framework_TestCase; +//use PHPUnit_Framework_TestCase; +// backward compatibility +if (!class_exists('\PHPUnit\Framework\TestCase')) { + class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); +} /** * Tests for text functions. */ -class TextTest extends PHPUnit_Framework_TestCase +class TextTest extends \PHPUnit\Framework\TestCase { /**