mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-19 10:41:13 +00:00
fe32c48268
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 |
||
---|---|---|
.. | ||
EventLoggerFactoryTest.php |