Tests - update namespace of PHPUnit's TestCase

Related to update versions of the "dev" packages
This commit is contained in:
Meritoo
2017-09-20 11:58:21 +02:00
parent fba821b798
commit 7dbb3f9b2e
7 changed files with 15 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ namespace Meritoo\Common\Test\Exception\Base;
use Meritoo\Common\Exception\Base\UnknownTypeException;
use Meritoo\Common\Type\Base\BaseType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
/**
* Tests of the exception used while type of something is unknown
@@ -18,7 +18,7 @@ use PHPUnit_Framework_TestCase;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class UnknownTypeExceptionTest extends PHPUnit_Framework_TestCase
class UnknownTypeExceptionTest extends TestCase
{
public function testWithoutException()
{

View File

@@ -10,7 +10,7 @@ namespace Meritoo\Common\Test\Type\Base;
use Generator;
use Meritoo\Common\Type\Base\BaseType;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
/**
* Tests of the base / abstract type of something
@@ -18,7 +18,7 @@ use PHPUnit_Framework_TestCase;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class BaseTypeTest extends PHPUnit_Framework_TestCase
class BaseTypeTest extends TestCase
{
/**
* @param BaseType $type Type of something

View File

@@ -9,7 +9,7 @@
namespace Meritoo\Common\Test\Utilities;
use Meritoo\Common\Utilities\Arrays;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
/**
* Tests of the useful arrays methods
@@ -17,7 +17,7 @@ use PHPUnit_Framework_TestCase;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class ArraysTest extends PHPUnit_Framework_TestCase
class ArraysTest extends TestCase
{
private $simpleArray;
private $simpleArrayWithKeys;

View File

@@ -9,7 +9,7 @@
namespace Meritoo\Common\Test\Utilities;
use Meritoo\Common\Utilities\Bundle;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
/**
* Tests of the useful methods for bundle
@@ -17,7 +17,7 @@ use PHPUnit_Framework_TestCase;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class BundleTest extends PHPUnit_Framework_TestCase
class BundleTest extends TestCase
{
public function testGetBundleViewPathEmptyPathAndBundle()
{

View File

@@ -8,13 +8,15 @@
namespace Meritoo\Common\Utilities;
use PHPUnit\Framework\TestCase;
/**
* Tests of the useful regular expressions methods
*
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class RegexTest extends \PHPUnit_Framework_TestCase
class RegexTest extends TestCase
{
private $simpleText;

View File

@@ -9,7 +9,7 @@
namespace Meritoo\Common\Test\Utilities;
use Meritoo\Common\Utilities\Xml;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
/**
@@ -18,7 +18,7 @@ use SimpleXMLElement;
* @author Krzysztof Niziol <krzysztof.niziol@meritoo.pl>
* @copyright Meritoo.pl
*/
class XmlTest extends PHPUnit_Framework_TestCase
class XmlTest extends TestCase
{
private $simpleXml;
private $advancedXml;