$this->markTestSkipped( $desc );
}
$this->assertEquals( wfWikiID(), $queue->getWiki(), "Proper wiki ID ($desc)" );
+ $this->assertEquals( wfWikiID(), $queue->getDomain(), "Proper wiki ID ($desc)" );
}
/**
class JobQueueDBSingle extends JobQueueDB {
protected function getDB( $index ) {
$lb = MediaWikiServices::getInstance()->getDBLoadBalancer();
- // Override to not use CONN_TRX_AUTO so that we see the same temporary `job` table
- return $lb->getConnection( $index, [], $this->wiki );
+ // Override to not use CONN_TRX_AUTOCOMMIT so that we see the same temporary `job` table
+ return $lb->getConnection( $index, [], $this->domain );
}
}