Removed test for non-string file name check
parent
fefc106ef6
commit
1c0b9cd65f
|
@ -80,15 +80,6 @@ class ArchiveManagerTest extends ArchiverTest
|
||||||
unlink($target);
|
unlink($target);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testNonStringFileName()
|
|
||||||
{
|
|
||||||
$this->setExpectedException('InvalidArgumentException');
|
|
||||||
|
|
||||||
$package = $this->setupPackage();
|
|
||||||
|
|
||||||
$this->manager->archive($package, 'tar', $this->targetDir, array());
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function getTargetName(PackageInterface $package, $format, $fileName = null)
|
protected function getTargetName(PackageInterface $package, $format, $fileName = null)
|
||||||
{
|
{
|
||||||
if(null === $fileName) {
|
if(null === $fileName) {
|
||||||
|
|
Loading…
Reference in New Issue