Logger is now required
This commit is contained in:
parent
0313bf312a
commit
5a33a99cb0
12 changed files with 217 additions and 98 deletions
|
|
@ -2,6 +2,9 @@
|
|||
|
||||
namespace FFMpeg;
|
||||
|
||||
use Monolog\Logger;
|
||||
use Monolog\Handler\NullHandler;
|
||||
|
||||
class FFMpegTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
|
|
@ -14,11 +17,15 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase
|
|||
* @var FFProbe
|
||||
*/
|
||||
protected $probe;
|
||||
protected $logger;
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->object = FFMpeg::load();
|
||||
$this->probe = FFProbe::load();
|
||||
$this->logger = new Logger('tests');
|
||||
$this->logger->pushHandler(new NullHandler());
|
||||
|
||||
$this->object = FFMpeg::load($this->logger);
|
||||
$this->probe = FFProbe::load($this->logger);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue