Fix tests to fit the latest interfaces

This commit is contained in:
Romain Neutron 2012-04-13 15:44:46 +02:00
commit 2d75a3694a
3 changed files with 3 additions and 25 deletions

View file

@ -36,23 +36,6 @@ class BinaryTest extends \PHPUnit_Framework_TestCase
BinaryTesterWrongBinary::load();
}
/**
* @covers FFMpeg\Binary::run
*/
public function testRun()
{
BinaryTester::runner('php --version');
}
/**
* @covers FFMpeg\Binary::run
* @expectedException \RuntimeException
*/
public function testRunFail()
{
BinaryTester::runner('aphp -version');
}
}
class BinaryTester extends Binary
@ -63,11 +46,6 @@ class BinaryTester extends Binary
return 'php';
}
public static function runner($command, $bypass_errors = false)
{
return self::run($command, $bypass_errors);
}
}
class BinaryTesterWrongBinary extends Binary