mediawiki-extensions-Popups/tests/phpunit
Thiemo Kreuz fe32c48268 Replace all mock builders with createMock() calls
This was motivated by two things:

1. Notice the bad class name in UserPreferencesChangeHandlerTest. This
was possible because the default mock builder does not check if a class
exists, *and* there was no type hint in place. createMock() *does* check
if a class exists.

2. We are free to use createMock() from PHPUnit 5+ now. It's not only
shorter but more strict and reliable.

Change-Id: I301a171d587026eab0a62575ab2fdbfd7733c661
2019-10-18 14:31:10 +00:00
..
EventLogging Replace all mock builders with createMock() calls 2019-10-18 14:31:10 +00:00
PopupsContextTest.php Replace all mock builders with createMock() calls 2019-10-18 14:31:10 +00:00
PopupsContextTestWrapper.php Add some missing newlines to separate PHP code better 2019-03-11 11:33:13 +01:00
PopupsGadgetsIntegrationTest.php Replace all mock builders with createMock() calls 2019-10-18 14:31:10 +00:00
PopupsHooksTest.php Replace all mock builders with createMock() calls 2019-10-18 14:31:10 +00:00
UserPreferencesChangeHandlerTest.php Replace all mock builders with createMock() calls 2019-10-18 14:31:10 +00:00