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