mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
non-deep check returns allways false
This commit is contained in:
parent
20854a50b4
commit
a6823d2f9b
2 changed files with 17 additions and 0 deletions
|
@ -131,4 +131,17 @@ class PerforceDriverTest extends \PHPUnit_Framework_TestCase
|
|||
$result = $driver->hasComposerFile($identifier);
|
||||
$this->assertTrue($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test that supports() simply return false.
|
||||
*
|
||||
* @covers \Composer\Repository\Vcs\PerforceDriver::supports
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testSupportsReturnsFalseNoDeepCheck()
|
||||
{
|
||||
$this->expectOutputString('');
|
||||
$this->assertFalse(PerforceDriver::supports($this->io, 'existing.url'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue