mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
Replace wfGetDB() in test with $this->getDb()
Not spotted in code search due to wrong case, which PHP forgives. Whoops. Bug: T360991 Depends-On: I73e4d3ab3158659b6a3c0a942f6bef10820b4248 Change-Id: I2d1cfd0f05c962f2d62dde911e4b0eed1ca02d83
This commit is contained in:
parent
9781b4f9a6
commit
30d911b649
|
@ -68,7 +68,7 @@ class ThreadItemStoreTest extends IntegrationTestCase {
|
|||
foreach ( $tables as $table => $order ) {
|
||||
$expected[$table] = static::getJson( "../$dir/$table.json", true );
|
||||
|
||||
$res = wfGetDb( DB_REPLICA )->newSelectQueryBuilder()
|
||||
$res = $this->getDb()->newSelectQueryBuilder()
|
||||
->from( $table )
|
||||
->field( '*' )
|
||||
->caller( __METHOD__ )
|
||||
|
|
Loading…
Reference in a new issue