mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
Fix 5.3/5.4 builds
This commit is contained in:
parent
2ba8758b30
commit
a1f9baa118
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ GIT;
|
|||
|
||||
public function testFileGetContentInvalidIdentifier()
|
||||
{
|
||||
$this->expectException('\RuntimeException');
|
||||
$this->setExpectedException('\RuntimeException');
|
||||
|
||||
$process = new ProcessExecutorMock;
|
||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
|
|
|
@ -103,7 +103,7 @@ HG_BOOKMARKS;
|
|||
|
||||
public function testFileGetContentInvalidIdentifier()
|
||||
{
|
||||
$this->expectException('\RuntimeException');
|
||||
$this->setExpectedException('\RuntimeException');
|
||||
|
||||
$process = new ProcessExecutorMock;
|
||||
$driver = new HgDriver(array('url' => 'https://example.org/acme.git'), $this->io, $this->config, $this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(), $process);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue