|
@@ -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'));
|
|
|
+ }
|
|
|
}
|