From 633682d56d4f1445f3bc33ac50be49daec6b7278 Mon Sep 17 00:00:00 2001 From: Wandji69 Date: Fri, 5 Jul 2024 17:08:51 +0100 Subject: [PATCH] Test:Replace db with getDb method Bug: T316841 Change-Id: Ia135648c0666632165bfbe29b6587e6676082d54 --- tests/phpunit/TalkPageFunctionalTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/TalkPageFunctionalTest.php b/tests/phpunit/TalkPageFunctionalTest.php index 8039cc656..ce1992476 100644 --- a/tests/phpunit/TalkPageFunctionalTest.php +++ b/tests/phpunit/TalkPageFunctionalTest.php @@ -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( [