Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
This commit is contained in:
parent
d17f802958
commit
ee4edc8b02
4 changed files with 8 additions and 4 deletions
|
|
@ -44,7 +44,7 @@
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"sami/sami": "~1.0",
|
"sami/sami": "~1.0",
|
||||||
"silex/silex": "~1.0",
|
"silex/silex": "~1.0",
|
||||||
"phpunit/phpunit": "^4.8"
|
"phpunit/phpunit": "^4.8.36"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-0": {
|
"psr-0": {
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,9 @@
|
||||||
namespace Tests\FFMpeg\Functional;
|
namespace Tests\FFMpeg\Functional;
|
||||||
|
|
||||||
use FFMpeg\FFMpeg;
|
use FFMpeg\FFMpeg;
|
||||||
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
abstract class FunctionalTestCase extends \PHPUnit_Framework_TestCase
|
abstract class FunctionalTestCase extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @return FFMpeg
|
* @return FFMpeg
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,9 @@ namespace Tests\FFMpeg\Unit;
|
||||||
|
|
||||||
use FFMpeg\FFMpegServiceProvider;
|
use FFMpeg\FFMpegServiceProvider;
|
||||||
use Silex\Application;
|
use Silex\Application;
|
||||||
|
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||||
|
|
||||||
class FFMpegServiceProviderTest extends \PHPUnit_Framework_TestCase
|
class FFMpegServiceProviderTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
public function testWithConfig()
|
public function testWithConfig()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
namespace Tests\FFMpeg\Unit;
|
namespace Tests\FFMpeg\Unit;
|
||||||
|
|
||||||
class TestCase extends \PHPUnit_Framework_TestCase
|
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||||
|
|
||||||
|
class TestCase extends BaseTestCase
|
||||||
{
|
{
|
||||||
public function assertScalar($value)
|
public function assertScalar($value)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue