From e3838bbc1fdf4f12ced211d3c3be746fce39d36a Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 29 Nov 2012 10:26:26 +0000 Subject: [PATCH] Update tests to expect correct URLs for private dist downloads --- tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php b/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php index e1f5201fc..95d94eeec 100644 --- a/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php +++ b/tests/Composer/Test/Repository/Vcs/GitHubDriverTest.php @@ -103,7 +103,7 @@ class GitHubDriverTest extends \PHPUnit_Framework_TestCase $dist = $gitHubDriver->getDist($identifier); $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']); $source = $gitHubDriver->getSource($identifier); @@ -113,7 +113,7 @@ class GitHubDriverTest extends \PHPUnit_Framework_TestCase $dist = $gitHubDriver->getDist($sha); $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']); $source = $gitHubDriver->getSource($sha);