Merge branch '2.2' into main
commit
d7ad2093f6
|
@ -164,7 +164,7 @@ GIT;
|
|||
|
||||
public function testFileGetContentInvalidIdentifier(): void
|
||||
{
|
||||
$this->expectException('\RuntimeException');
|
||||
self::expectException('\RuntimeException');
|
||||
|
||||
$process = $this->getProcessExecutorMock();
|
||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
|
|
|
@ -104,7 +104,7 @@ HG_BOOKMARKS;
|
|||
|
||||
public function testFileGetContentInvalidIdentifier(): void
|
||||
{
|
||||
$this->expectException('\RuntimeException');
|
||||
self::expectException('\RuntimeException');
|
||||
|
||||
$process = $this->getProcessExecutorMock();
|
||||
$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