mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 10:22:05 +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
|
* @return \stdClass[] All talk page edit events in db sorted from oldest to newest
|
||||||
*/
|
*/
|
||||||
protected function fetchAllEvents() {
|
protected function fetchAllEvents() {
|
||||||
$res = $this->db->newSelectQueryBuilder()
|
$res = $this->getDb()->newSelectQueryBuilder()
|
||||||
->select( Event::selectFields() )
|
->select( Event::selectFields() )
|
||||||
->from( 'echo_event' )
|
->from( 'echo_event' )
|
||||||
->where( [
|
->where( [
|
||||||
|
|
Loading…
Reference in a new issue