Updated CDN test to have args in the right order.

This commit is contained in:
Matt Butcher 2012-01-31 13:23:15 -06:00
parent a554cc4d0f
commit f01ad002e0
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,9 @@ require_once 'src/HPCloud/Bootstrap.php';
require_once 'test/TestCase.php';
use \HPCloud\Storage\ObjectStorage\ACL;
/**
* @ingroup Tests
*/
class ACLTest extends \HPCloud\Tests\TestCase {
public function testConstructor() {

View File

@ -39,7 +39,7 @@ class CDNTest extends \HPCloud\Tests\TestCase {
$url = 'https://' . $parts['host'];
$tenantId = $catalog[0]['endpoints'][0]['tenantId'];
$cdn = new CDN($url, $token, $tenantId);
$cdn = new CDN($token, $url, $tenantId);
$this->assertInstanceOf('\HPCloud\Storage\CDN', $cdn);