Skip to content

Commit

Permalink
More damage from master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinger committed Jun 23, 2015
1 parent 4ccfb1c commit 478ddac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/mongo/MongoTripodConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1286,14 +1286,14 @@ public function testTransactionLogIsWrittenToCorrectDBAndCollection()
$transactionMongo = new MongoClient($transactionConnInfo['connection'], $options);
$transactionDbInfo = $transactionMongo->listDBs();
foreach($transactionDbInfo['databases'] as $db){
$this->assertNotEquals($db['name'], $newConfig['transaction_log']['database'], $newConfig['queue']['database']);
$this->assertNotEquals($db['name'], $newConfig['transaction_log']['database']);
}
$tqueuesConnInfo = $newConfig['data_sources'][$newConfig['transaction_log']['data_source']];
$options = isset($tqueuesConnInfo['replicaSet']) && !empty($tqueuesConnInfo['replicaSet']) ? array('replicaSet' => $tqueuesConnInfo['replicaSet']): array();
$queuesMongo = new MongoClient($tqueuesConnInfo['connection'], $options);
$queuesDbInfo = $queuesMongo->listDBs();
foreach($queuesDbInfo['databases'] as $db){
$this->assertNotEquals($db['name'], $newConfig['transaction_log']['database'], $newConfig['queue']['database']);
$this->assertNotEquals($db['name'], $newConfig['transaction_log']['database']);
}

// Start adding some data
Expand Down

0 comments on commit 478ddac

Please sign in to comment.