Updated CDN test to have args in the right order.
This commit is contained in:
parent
a554cc4d0f
commit
f01ad002e0
@ -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() {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user