From 478ddac8cfc2fdaef11d937231b84d2a4dda6868 Mon Sep 17 00:00:00 2001 From: Ross Singer Date: Tue, 23 Jun 2015 15:51:00 +0100 Subject: [PATCH] More damage from master merge --- test/unit/mongo/MongoTripodConfigTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/mongo/MongoTripodConfigTest.php b/test/unit/mongo/MongoTripodConfigTest.php index cf125845..da017dad 100644 --- a/test/unit/mongo/MongoTripodConfigTest.php +++ b/test/unit/mongo/MongoTripodConfigTest.php @@ -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