[go: up one dir, main page]

Page MenuHomePhabricator

Make PHPUnit dataProvider static in ReadingLists tests
Open, Needs TriagePublic

Description

The @dataProvider annotation should be a static function, check and make data provider in the extension, at least:

  • ApiQueryReadingListEntriesTest with apiQueryProvider
  • ApiQueryReadingListsTest with apiQueryProvider

static and adjust the usages (More infos at T332865).

Initial work was done in d0ee3d4069c29675a8b013df37e9f8a2a708c199