mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Removed test for non-string file name check
This commit is contained in:
parent
fefc106ef6
commit
1c0b9cd65f
2 changed files with 2 additions and 11 deletions
|
@ -79,16 +79,7 @@ class ArchiveManagerTest extends ArchiverTest
|
|||
|
||||
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)
|
||||
{
|
||||
if(null === $fileName) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue