mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
* method to gather if this session is 'interactive' or 'non interactive'
This commit is contained in:
parent
d1482bfa3c
commit
3f665e8bbb
2 changed files with 28 additions and 0 deletions
|
@ -44,4 +44,10 @@ class SvnDriverTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
$this->assertEquals($expect, $svn->getSvnCredentialString());
|
||||
}
|
||||
|
||||
public function testInteractiveString()
|
||||
{
|
||||
$io = new \Composer\IO\NullIO; // non-interactive by design
|
||||
$svn = new SvnDriver('http://svn.example.org', $io);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue