]> git.mxchange.org Git - friendica.git/blobdiff - tests/TextTest.php
Fixes: (#5447)
[friendica.git] / tests / TextTest.php
index 3cda2342f36b88aa36f7a5ff1759fed4ddc23b67..ac1b7d7757b580eeccc38fa160b4cd983c4dcc1d 100644 (file)
@@ -5,15 +5,12 @@
 
 namespace Friendica\Test;
 
-// backward compatibility
-if (!class_exists('\PHPUnit\Framework\TestCase')) {
-    class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
-}
+use PHPUnit\Framework\TestCase;
 
 /**
  * Tests for text functions.
  */
-class TextTest extends \PHPUnit\Framework\TestCase
+class TextTest extends TestCase
 {
 
        /**