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

@ -11,7 +11,7 @@ use PHPCensor\Model\Build;
*
* @author meadsteve
*/
class EmailTest extends \PHPUnit_Framework_TestCase
class EmailTest extends \PHPUnit\Framework\TestCase
{
/**

View file

@ -9,7 +9,7 @@ use PHPCensor\Plugin\Option\PhpUnitOptions;
*
* @author Pablo Tejada <pablo@ptejada.com>
*/
class PhpUnitOptionsTest extends \PHPUnit_Framework_TestCase
class PhpUnitOptionsTest extends \PHPUnit\Framework\TestCase
{
public function validOptionsProvider()
{

View file

@ -5,7 +5,7 @@ namespace Tests\PHPCensor\Plugin;
use PHPCensor\Plugin\Phar as PharPlugin;
use Phar as PHPPhar;
class PharTest extends \PHPUnit_Framework_TestCase
class PharTest extends \PHPUnit\Framework\TestCase
{
protected $directory;

View file

@ -7,7 +7,7 @@ namespace Tests\PHPCensor\Plugin;
*
* @author Pablo Tejada <pablo@ptejada.com>
*/
class PhpUnitTest extends \PHPUnit_Framework_TestCase
class PhpUnitTest extends \PHPUnit\Framework\TestCase
{
public function testSingleConfigFile()
{

View file

@ -5,7 +5,7 @@ namespace Tests\PHPCensor\Plugin\Util;
use PHPCensor\Plugin\Util\Executor;
use Prophecy\Argument;
class ExecutorTest extends \PHPUnit_Framework_TestCase
class ExecutorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var Executor

View file

@ -4,7 +4,7 @@ namespace Tests\PHPCensor\Plugin\Util;
use PHPCensor\Plugin\Util\Factory;
class FactoryTest extends \PHPUnit_Framework_TestCase {
class FactoryTest extends \PHPUnit\Framework\TestCase {
/**
* @var \PHPCensor\Plugin\Util\Factory

View file

@ -12,7 +12,7 @@ use PHPCensor\Plugin\Util\PhpUnitResultJunit;
* @package PHPCI
* @subpackage Plugin
*/
class PhpUnitResultTest extends \PHPUnit_Framework_TestCase
class PhpUnitResultTest extends \PHPUnit\Framework\TestCase
{
/**
* Skipped test results