Update tests to expect correct URLs for private dist downloads
parent
120f52c632
commit
e3838bbc1f
|
@ -103,7 +103,7 @@ class GitHubDriverTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
$dist = $gitHubDriver->getDist($identifier);
|
$dist = $gitHubDriver->getDist($identifier);
|
||||||
$this->assertEquals('zip', $dist['type']);
|
$this->assertEquals('zip', $dist['type']);
|
||||||
$this->assertEquals('https://github.com/composer/packagist/archive/v0.0.0.zip', $dist['url']);
|
$this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']);
|
||||||
$this->assertEquals('v0.0.0', $dist['reference']);
|
$this->assertEquals('v0.0.0', $dist['reference']);
|
||||||
|
|
||||||
$source = $gitHubDriver->getSource($identifier);
|
$source = $gitHubDriver->getSource($identifier);
|
||||||
|
@ -113,7 +113,7 @@ class GitHubDriverTest extends \PHPUnit_Framework_TestCase
|
||||||
|
|
||||||
$dist = $gitHubDriver->getDist($sha);
|
$dist = $gitHubDriver->getDist($sha);
|
||||||
$this->assertEquals('zip', $dist['type']);
|
$this->assertEquals('zip', $dist['type']);
|
||||||
$this->assertEquals('https://github.com/composer/packagist/archive/v0.0.0.zip', $dist['url']);
|
$this->assertEquals('https://api.github.com/repos/composer/packagist/zipball/v0.0.0', $dist['url']);
|
||||||
$this->assertEquals('v0.0.0', $dist['reference']);
|
$this->assertEquals('v0.0.0', $dist['reference']);
|
||||||
|
|
||||||
$source = $gitHubDriver->getSource($sha);
|
$source = $gitHubDriver->getSource($sha);
|
||||||
|
|
Loading…
Reference in New Issue