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