mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Adjust GitDriver tag parsing to resolve to SHAs
This commit is contained in:
parent
c0b889a78a
commit
d017e3f209
2 changed files with 10 additions and 5 deletions
|
@ -252,11 +252,11 @@ class GitHubDriverTest extends \PHPUnit_Framework_TestCase
|
|||
|
||||
$process->expects($this->at(2))
|
||||
->method('execute')
|
||||
->with($this->stringContains('git tag'));
|
||||
->with($this->stringContains('git show-ref --tags'));
|
||||
|
||||
$process->expects($this->at(3))
|
||||
->method('splitLines')
|
||||
->will($this->returnValue(array($identifier)));
|
||||
->will($this->returnValue(array($sha.' refs/tags/'.$identifier)));
|
||||
|
||||
$process->expects($this->at(4))
|
||||
->method('execute')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue