1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix warnings on higher phpunit versions

This commit is contained in:
Jordi Boggiano 2020-09-10 17:21:11 +02:00
parent bb96b04f4a
commit 1593b67230
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
29 changed files with 854 additions and 143 deletions

View file

@ -40,11 +40,10 @@ class SvnDriverTest extends TestCase
$fs->removeDirectory($this->home);
}
/**
* @expectedException RuntimeException
*/
public function testWrongCredentialsInUrl()
{
$this->setExpectedException('RuntimeException');
$console = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
$httpDownloader = $this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock();