From eca49c5275a7bfee362ee1ff1013ad4b781c0432 Mon Sep 17 00:00:00 2001 From: Dusta Date: Sat, 10 Feb 2018 22:21:59 +0100 Subject: [PATCH] Update SetupTest.php --- tests/SetupTest.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/SetupTest.php b/tests/SetupTest.php index 081e66b..d4221b4 100644 --- a/tests/SetupTest.php +++ b/tests/SetupTest.php @@ -2,14 +2,7 @@ namespace Dframe\tests; ini_set('session.use_cookies', 0); -use PHPUnit_Framework_Constraint_IsType as PHPUnit_IsType; - -// backward compatibility -if (!class_exists('\PHPUnit\Framework\TestCase') AND class_exists('\PHPUnit_Framework_TestCase')) { - class_alias('\PHPUnit_Framework_TestCase', '\PHPUnit\Framework\TestCase'); -} - -class SetupTest extends PHPUnit_Framework_TestCase { +class SetupTest extends \PHPUnit\Framework\TestCase { public function setUp(){