1
0
Fork 0
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:
till 2012-03-08 15:44:29 +01:00
parent d1482bfa3c
commit 3f665e8bbb
2 changed files with 28 additions and 0 deletions

View file

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