This existed on MediaWikiIntegrationTestCase, but not on MediaWikiUnitTestCase. As a result of that, I spent about four days tracking down a dangling AtEase::suppressWarnings with missing AtEase::restoreWarnings (as part of Ib6758d724c). Move it to the common MediaWikiTestCaseTrait instead so that we get it on unit/ as well. Example: > There was 1 failure: > > 1) Pbkdf2PasswordTest::testCryptThrows > PHP error_reporting setting found dirty. > Did you forget AtEase::restoreWarnings? Change-Id: I7dc3fe90385c8066b89a5e06c55f5455edfbb4ca |
||
|---|---|---|
| .. | ||
| Argon2PasswordTest.php | ||
| BcryptPasswordTest.php | ||
| EncryptedPasswordTest.php | ||
| LayeredParameterizedPasswordTest.php | ||
| MWOldPasswordTest.php | ||
| MWSaltedPasswordTest.php | ||
| PasswordFactoryTest.php | ||
| PasswordTest.php | ||
| PasswordTestCase.php | ||
| Pbkdf2PasswordFallbackTest.php | ||
| Pbkdf2PasswordTest.php | ||