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
|
@ -157,7 +157,7 @@ class StreamContextFactoryTest extends TestCase
|
|||
$_SERVER['https_proxy'] = 'https://woopproxy.net';
|
||||
|
||||
// Pointless test replaced by ProxyHelperTest.php
|
||||
$this->setExpectedException('Composer\Downloader\TransportException');
|
||||
self::expectException('Composer\Downloader\TransportException');
|
||||
$context = StreamContextFactory::getContext('https://example.org', array('http' => array('method' => 'GET', 'header' => 'User-Agent: foo')));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue