mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Remove setExpectedException wrapper
This commit is contained in:
parent
32dcb93f24
commit
6ed3aeb343
44 changed files with 98 additions and 101 deletions
|
@ -49,7 +49,8 @@ class SvnDriverTest extends TestCase
|
|||
|
||||
public function testWrongCredentialsInUrl()
|
||||
{
|
||||
$this->setExpectedException('RuntimeException', "Repository https://till:secret@corp.svn.local/repo could not be processed, wrong credentials provided (svn: OPTIONS of 'https://corp.svn.local/repo': authorization failed: Could not authenticate to server: rejected Basic challenge (https://corp.svn.local/))");
|
||||
self::expectException('RuntimeException');
|
||||
self::expectExceptionMessage("Repository https://till:secret@corp.svn.local/repo could not be processed, wrong credentials provided (svn: OPTIONS of 'https://corp.svn.local/repo': authorization failed: Could not authenticate to server: rejected Basic challenge (https://corp.svn.local/))");
|
||||
|
||||
$console = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
$httpDownloader = $this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue