]> git.mxchange.org Git - friendica.git/commitdiff
there are more then 1 test ATM
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 23 Apr 2018 06:53:46 +0000 (08:53 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 23 Apr 2018 06:53:46 +0000 (08:53 +0200)
tests/TextTest.php

index 3a15b97665840d378b85b6b4846d79aabaf39edd..5baaa17ac28d59b92241db8fb35ef0521c279735 100644 (file)
@@ -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
 {
 
        /**