Set PhpUnit version for older php
This commit is contained in:
parent
824b77dbcf
commit
8837f4b115
6 changed files with 76 additions and 23 deletions
|
|
@ -4,9 +4,8 @@ namespace Tests\FFMpeg\Unit;
|
|||
|
||||
use FFMpeg\FFMpegServiceProvider;
|
||||
use Silex\Application;
|
||||
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||
|
||||
class FFMpegServiceProviderTest extends BaseTestCase
|
||||
class FFMpegServiceProviderTest extends TestCase
|
||||
{
|
||||
public function testWithConfig()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2,15 +2,10 @@
|
|||
|
||||
namespace Tests\FFMpeg\Unit;
|
||||
|
||||
use PHPUnit\Framework\TestCase as BaseTestCase;
|
||||
use Tests\FFMpeg\BaseTestCase;
|
||||
|
||||
class TestCase extends BaseTestCase
|
||||
{
|
||||
public function assertScalar($value)
|
||||
{
|
||||
$this->assertTrue(is_scalar($value));
|
||||
}
|
||||
|
||||
public function getLoggerMock()
|
||||
{
|
||||
return $this->getMockBuilder('Psr\Log\LoggerInterface')->getMock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue