1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-10 17:12:51 +00:00

Fix handling of dev versions and consolidate logic, refs #7119

This commit is contained in:
Jordi Boggiano 2018-04-13 13:48:30 +02:00
parent 24ad6307a7
commit c917865fe9
8 changed files with 78 additions and 43 deletions

View file

@ -123,6 +123,9 @@ class FossilDownloaderTest extends TestCase
$packageMock->expects($this->any())
->method('getSourceUrls')
->will($this->returnValue(array('http://fossil.kd2.org/kd2fw/')));
$packageMock->expects($this->any())
->method('getVersion')
->will($this->returnValue('1.0.0.0'));
$processExecutor = $this->getMockBuilder('Composer\Util\ProcessExecutor')->getMock();
$expectedFossilCommand = $this->getCmd("fossil changes");