From a554cc4d0f709a425e31daabeaadfbebc92a65e5 Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Tue, 31 Jan 2012 13:22:53 -0600 Subject: [PATCH] Switched over to new ObjectStorage builder func. --- test/TestCase.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/TestCase.php b/test/TestCase.php index ea98f5e..6e56576 100644 --- a/test/TestCase.php +++ b/test/TestCase.php @@ -122,10 +122,13 @@ class TestCase extends \PHPUnit_Framework_TestCase { throw new \Exception('No object-store service found.'); } + /* //$serviceURL = $services[0]['endpoints'][0]['adminURL']; $serviceURL = $services[0]['endpoints'][0]['publicURL']; $objStore = new \HPCloud\Storage\ObjectStorage($ident->token(), $serviceURL); + */ + $objStore = \HPCloud\Storage\ObjectStorage::newFromServiceCatalog($services, $ident->token()); self::$ostore = $objStore;