This patch tries to make assertions in tests more readable by using more self-documenting assertions as provided by modern PHPUnit versions. Among a few others, these two main changes are done: * I found a lot of assertions with the expected value being the *second* parameter. I did not changed all of them. Only some that can be replaced with assertNull() and such. * I try to replace all `assertTrue( is_…() )` with dedicated assertions. Change-Id: I1fc72188fbd0edacf13886e7f9a9eacbd85f13c2 |
||
|---|---|---|
| .. | ||
| CachingSiteStoreTest.php | ||
| DBSiteStoreTest.php | ||
| HashSiteStoreTest.php | ||
| MediaWikiPageNameNormalizerTest.php | ||
| MediaWikiSiteTest.php | ||
| SiteExporterTest.php | ||
| SiteImporterTest.php | ||
| SiteImporterTest.xml | ||
| SiteListTest.php | ||
| SiteTest.php | ||
| TestSites.php | ||