Merge "Test:Replace db with getDb method"

This commit is contained in:
jenkins-bot 2024-07-08 09:30:44 +00:00 committed by Gerrit Code Review
commit bc08edbcbf

View file

@ -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( [