wiki.techinc.nl/tests/phpunit/integration/includes
daniel 9ff8edfa1e HtmlOutputRendererHelper: fix semantics of getRevisionId
getRevisionId is documented to return 0 for fake revisions, but it was
returning 0 for the current revision as well. This patch makes a clear
distinction, with 0 meaning current (like elsewhere in the code), and
null meaning a fake revision.

This patch includes a fix for redirect handling in ParsoidHandler::wt2html.
This fix is needed here because it previously relied on getRevisionId()
to return the actual revision ID; this would fail, since getRevisionId()
will return 0 when the current revision of a page is requested.

Change-Id: I33d1ab54023c6ac96c6bb5e4750b980e381cb464
2022-12-06 23:06:25 +01:00
..
block Fix casing of class and function name usages 2022-12-04 19:09:30 +00:00
cache Reorg: Move Title-related classes to title/ 2022-11-26 09:30:32 +00:00
CommentFormatter Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
db rdbms: make SqlitePlatform::tableName() apply double quotes 2022-11-23 00:17:40 +00:00
diff tests: Use overrideConfig(Value|Values) where needed 2022-07-12 14:40:46 +01:00
editpage/Constraint tests: Add missing @group Database 2022-08-06 22:55:12 +02:00
export tests: Use overrideConfig(Value|Values) where needed 2022-07-12 14:40:46 +01:00
filerepo filerepo: remove repo name from getSharedCacheKey() 2020-11-16 17:28:31 -08:00
htmlform HTMLUserTextField: Fix validation 2022-07-14 02:41:03 +02:00
language Make SpecialPageAliasTest more strict 2022-05-13 18:06:00 +02:00
libs tests: Replace assertRegExp with assertMatchesRegularExpression 2022-10-07 14:13:16 -04:00
logging tests: Use overrideConfig(Value|Values) where needed 2022-07-12 14:40:46 +01:00
page Make use of the new PageUpdateStatus 2022-11-30 17:56:58 +00:00
parser Fix LanguageVariantConverter test 2022-11-29 15:34:42 +01:00
Permissions RateLimiter: improve test coverage 2022-07-16 11:00:59 +00:00
poolcounter phpunit: Mass-replace setMethods with onlyMethods and adjust 2021-04-16 20:15:00 +02:00
Rest/Handler HtmlOutputRendererHelper: fix semantics of getRevisionId 2022-12-06 23:06:25 +01:00
revisionlist tests: Use service container in integration tests cases 2021-09-05 22:14:36 +01:00
search phpunit: Add tests for SearchSuggestionSet::fromTitles() 2022-05-06 01:39:28 +01:00
Storage Fix casing of class and function name usages 2022-12-04 19:09:30 +00:00
user tests: Use overrideConfig(Value|Values) where needed 2022-07-12 14:40:46 +01:00
utils Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
watchlist Fix core newtalk 304 suppression and update deferral 2022-03-18 16:52:12 +11:00
SanitizerValidateEmailTest.php Cleanup some tests to reduce code duplications 2020-12-21 10:08:29 +00:00
StubGlobalUserTest.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
StubObjectTest.php Reorg: Move StubObject classes in includes to its own directory 2022-10-25 16:04:48 -04:00
TemplateParserIntegrationTest.php tests: Use overrideConfig(Value|Values) where needed 2022-07-12 14:40:46 +01:00