phpunit compat 5.6 vs 7.x
This commit is contained in:
parent
aa6584684e
commit
0a58637ace
1 changed files with 6 additions and 3 deletions
|
@ -7,12 +7,15 @@ namespace Friendica\Test;
|
||||||
|
|
||||||
use Friendica\App;
|
use Friendica\App;
|
||||||
use Friendica\BaseObject;
|
use Friendica\BaseObject;
|
||||||
use PHPUnit_Framework_TestCase;
|
// backward compatibility
|
||||||
|
if (!class_exists('\PHPUnit\Framework\TestCase')) {
|
||||||
|
class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase');
|
||||||
|
}
|
||||||
|
use \PHPUnit_Framework_TestCase;
|
||||||
/**
|
/**
|
||||||
* Tests for the BaseObject class.
|
* Tests for the BaseObject class.
|
||||||
*/
|
*/
|
||||||
class BaseObjectTest extends PHPUnit_Framework_TestCase
|
class BaseObjectTest extends \PHPUnit\Framework\TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue