test cases inherit from PhpUnit testcase with namespeces

This name is available since phpunit 4.8.36 and 5.4.3.
This commit is contained in:
SimonHeimberg 2017-07-24 08:45:52 +02:00
commit 7a8ed48e3d
32 changed files with 33 additions and 33 deletions

View file

@ -3,9 +3,9 @@
namespace Tests\PHPCensor\Helper;
use PHPCensor\Helper\AnsiConverter;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
class AnsiConverterTest extends PHPUnit_Framework_TestCase
class AnsiConverterTest extends TestCase
{
public function testConvert_convertToHtml()
{

View file

@ -4,7 +4,7 @@ namespace Tests\PHPCensor\Plugin\Helper;
use PHPCensor\Helper\BuildInterpolator;
class BuildInterpolatorTest extends \PHPUnit_Framework_TestCase
class BuildInterpolatorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var BuildInterpolator

View file

@ -4,7 +4,7 @@ namespace Tests\PHPCensor\Helper;
use PHPCensor\Helper\CommandExecutor;
class CommandExecutorTest extends \PHPUnit_Framework_TestCase
class CommandExecutorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var CommandExecutor

View file

@ -8,7 +8,7 @@ use PHPCensor\Helper\MailerFactory;
* Unit tests for the ProjectService class.
* @author Dan Cryer <dan@block8.co.uk>
*/
class MailerFactoryTest extends \PHPUnit_Framework_TestCase
class MailerFactoryTest extends \PHPUnit\Framework\TestCase
{
public function setUp()
{