Switched over to new ObjectStorage builder func.
This commit is contained in:
parent
538ad4f3b2
commit
a554cc4d0f
@ -122,10 +122,13 @@ class TestCase extends \PHPUnit_Framework_TestCase {
|
|||||||
throw new \Exception('No object-store service found.');
|
throw new \Exception('No object-store service found.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
//$serviceURL = $services[0]['endpoints'][0]['adminURL'];
|
//$serviceURL = $services[0]['endpoints'][0]['adminURL'];
|
||||||
$serviceURL = $services[0]['endpoints'][0]['publicURL'];
|
$serviceURL = $services[0]['endpoints'][0]['publicURL'];
|
||||||
|
|
||||||
$objStore = new \HPCloud\Storage\ObjectStorage($ident->token(), $serviceURL);
|
$objStore = new \HPCloud\Storage\ObjectStorage($ident->token(), $serviceURL);
|
||||||
|
*/
|
||||||
|
$objStore = \HPCloud\Storage\ObjectStorage::newFromServiceCatalog($services, $ident->token());
|
||||||
|
|
||||||
self::$ostore = $objStore;
|
self::$ostore = $objStore;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user