Fix tests
This commit is contained in:
		
					parent
					
						
							
								6bcf3505fe
							
						
					
				
			
			
				commit
				
					
						01756fa1a8
					
				
			
		
					 2 changed files with 2 additions and 8 deletions
				
			
		|  | @ -22,6 +22,7 @@ class BinaryTest extends \PHPUnit_Framework_TestCase | |||
| 
 | ||||
|     /** | ||||
|      * @covers FFMpeg\Binary::__construct | ||||
|      * @expectedException \FFMpeg\Exception\BinaryNotFoundException | ||||
|      */ | ||||
|     public function testConstruct() | ||||
|     { | ||||
|  |  | |||
|  | @ -112,7 +112,7 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase | |||
| 
 | ||||
|     /** | ||||
|      * @covers FFMpeg\FFMpeg::encode | ||||
|      * @expectedException \RuntimeException | ||||
|      * @expectedException FFMpeg\Exception\BinaryNotFoundException | ||||
|      */ | ||||
|     public function testWrongBinary() | ||||
|     { | ||||
|  | @ -120,13 +120,6 @@ class FFMpegTest extends \PHPUnit_Framework_TestCase | |||
|         $logger->pushHandler(new \Monolog\Handler\NullHandler()); | ||||
| 
 | ||||
|         $ffmpeg = new FFMpeg('wrongbinary', $logger); | ||||
|         $ffmpeg->setProber($this->probe); | ||||
|         $ffmpeg->open(__DIR__ . '/../../files/Test.ogv'); | ||||
| 
 | ||||
|         $format = new Format\Video\WebM(); | ||||
|         $format-> setDimensions(32, 32); | ||||
| 
 | ||||
|         $ffmpeg->encode($format, './invalid.file'); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue