mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Remove setExpectedException wrapper
This commit is contained in:
parent
32dcb93f24
commit
6ed3aeb343
44 changed files with 98 additions and 101 deletions
|
@ -172,7 +172,7 @@ class RemoteFilesystemTest extends TestCase
|
|||
|
||||
public function testCopyWithNoRetryOnFailure()
|
||||
{
|
||||
$this->setExpectedException('Composer\Downloader\TransportException');
|
||||
self::expectException('Composer\Downloader\TransportException');
|
||||
$fs = $this->getRemoteFilesystemWithMockedMethods(array('getRemoteContents'));
|
||||
|
||||
$fs->expects($this->once())->method('getRemoteContents')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue