Permalink
Browse files

Adding generated Thrift files + cassandra.thrift. fixed config + Pand…

…raTest
  • Loading branch information...
1 parent 33a065f commit f890d00ab68027cdd80390469bfb3690eb08ee79 @mjpearson committed Jan 16, 2010
View
@@ -22,7 +22,7 @@
*
* @package Pandra
*/
-$GLOBALS['THRIFT_ROOT'] = dirname(__FILE__).'/../thrift-php/';
+$GLOBALS['THRIFT_ROOT'] = dirname(__FILE__).'/thrift-php/';
require_once $GLOBALS['THRIFT_ROOT'].'/packages/cassandra/Cassandra.php';
require_once $GLOBALS['THRIFT_ROOT'].'/transport/TSocket.php';
View
@@ -115,8 +115,8 @@ public function testGetKeyspace() {
// at least be able to pull out their basic attributes
$expectedKeys = array('FlushPeriodInMinutes', 'Type', 'Desc');
- foreach ($ks as $keySpace => $columnFamily) {
- $diff = array_diff($expectedKeys, array_keys($columnFamily));
+ foreach ($ks as $columnFamily => $attributes) {
+ $diff = array_diff($expectedKeys, array_keys($attributes ));
$this->assertTrue(empty($diff));
}
}
Oops, something went wrong.

0 comments on commit f890d00

Please sign in to comment.