Fix 5.3/5.4 builds
parent
2ba8758b30
commit
a1f9baa118
|
@ -56,7 +56,7 @@ GIT;
|
||||||
|
|
||||||
public function testFileGetContentInvalidIdentifier()
|
public function testFileGetContentInvalidIdentifier()
|
||||||
{
|
{
|
||||||
$this->expectException('\RuntimeException');
|
$this->setExpectedException('\RuntimeException');
|
||||||
|
|
||||||
$process = new ProcessExecutorMock;
|
$process = new ProcessExecutorMock;
|
||||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||||
|
|
|
@ -103,7 +103,7 @@ HG_BOOKMARKS;
|
||||||
|
|
||||||
public function testFileGetContentInvalidIdentifier()
|
public function testFileGetContentInvalidIdentifier()
|
||||||
{
|
{
|
||||||
$this->expectException('\RuntimeException');
|
$this->setExpectedException('\RuntimeException');
|
||||||
|
|
||||||
$process = new ProcessExecutorMock;
|
$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);
|
$driver = new HgDriver(array('url' => 'https://example.org/acme.git'), $this->io, $this->config, $this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(), $process);
|
||||||
|
|
Loading…
Reference in New Issue