From 61a380975b193cf127aa9e38b4aa1e938e0358ff Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Mon, 23 Apr 2018 08:53:46 +0200 Subject: [PATCH] there are more then 1 test ATM --- tests/TextTest.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/TextTest.php b/tests/TextTest.php index 3a15b9766..5baaa17ac 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 { /**