mediawiki-extensions-Popups/tests/phpunit
Piotr Miazga 0ab39f88e7 Enable by default
Popups is enabled on the Wikipedias but disabled by default, which makes
it more difficult to enable on third-party wikis.

Things should be enabled by default, and them WMF configs should disable
features when they are not used/available.

Supporting changes:

- Rename PopupsContextTest#testAnonUserHasDisabledPagePreviews and
  remove the associated data provider, which provided only one datum

- Set $wgPopupsReferencePreviews to false in
  PopupsContextTest#testShouldSendModuleToUser in order to isolate the
  code under test

Change-Id: Ib8cc7041d792bed0a19d18e14506627099a69bef
2020-01-29 15:40:23 +00:00
..
unit build: Updating mediawiki/mediawiki-codesniffer to 29.0.0 2020-01-26 20:22:03 +01:00
PopupsContextTest.php Enable by default 2020-01-29 15:40:23 +00:00
PopupsContextTestWrapper.php build: Updating mediawiki/mediawiki-codesniffer to 29.0.0 2020-01-26 20:22:03 +01:00
PopupsHooksTest.php Add tests case for user preferences while in Beta mode 2019-12-17 16:27:26 +01:00