mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Merge branch '2.2' into main
This commit is contained in:
commit
d7ad2093f6
2 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ GIT;
|
||||||
|
|
||||||
public function testFileGetContentInvalidIdentifier(): void
|
public function testFileGetContentInvalidIdentifier(): void
|
||||||
{
|
{
|
||||||
$this->expectException('\RuntimeException');
|
self::expectException('\RuntimeException');
|
||||||
|
|
||||||
$process = $this->getProcessExecutorMock();
|
$process = $this->getProcessExecutorMock();
|
||||||
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
$io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||||
|
|
|
@ -104,7 +104,7 @@ HG_BOOKMARKS;
|
||||||
|
|
||||||
public function testFileGetContentInvalidIdentifier(): void
|
public function testFileGetContentInvalidIdentifier(): void
|
||||||
{
|
{
|
||||||
$this->expectException('\RuntimeException');
|
self::expectException('\RuntimeException');
|
||||||
|
|
||||||
$process = $this->getProcessExecutorMock();
|
$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);
|
$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