mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 09:10:12 +00:00
Merge "Test:Replace db with getDb method"
This commit is contained in:
commit
bc08edbcbf
|
@ -88,7 +88,7 @@ class TalkPageFunctionalTest extends ApiTestCase {
|
|||
* @return \stdClass[] All talk page edit events in db sorted from oldest to newest
|
||||
*/
|
||||
protected function fetchAllEvents() {
|
||||
$res = $this->db->newSelectQueryBuilder()
|
||||
$res = $this->getDb()->newSelectQueryBuilder()
|
||||
->select( Event::selectFields() )
|
||||
->from( 'echo_event' )
|
||||
->where( [
|
||||
|
|
Loading…
Reference in a new issue