wiki.techinc.nl/tests/phpunit/integration/includes/Rest/Handler
Petr Pchelko 816e02ae51 Convert RevisionRecord to Authority and PageIdentity
As we convert the RevisionRecord to using Authority,
we no longer need Title instances, so we can convert
that to PageIdentity.

Ideally, we'd part away from using Title at all, but:
1. For foreign wikis PageIdentity has stronger validation,
so calling PageIdentity getId() on Title will break things.
There's still a lot of code depending on lax Title guarantees,
so we keep it.
2. A lot of code still depends on Title, so we try to pass it
through even if we don't nesessarily need to, to save cost
on recreating it later on.

Bug: T271458
Depends-On: I287400b967b467ea18bebbb579e881a785a19158
Change-Id: I63d9807264d7e2295afef51fc9d982447f92fcbd
2021-01-21 13:37:01 -06:00
..
CreationHandlerTest.php Split title mocking methods out of HandlerTestTrait. 2021-01-13 12:46:10 -06:00
LanguageLinksHandlerTest.php Split title mocking methods out of HandlerTestTrait. 2021-01-13 12:46:10 -06:00
MediaFileHandlerTest.php Merge "Make REST tests more robust against content language" 2020-03-30 14:49:27 +00:00
MediaLinksHandlerTest.php REST endpoints: Add etag and last-modified headers 2020-03-26 00:18:34 +01:00
PageContentHelperTest.php Implement /revision/{id}/html endpoint 2020-12-14 16:54:35 +00:00
PageHTMLHandlerTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
PageSourceHandlerTest.php Moved page/{title}/bare to PageSourceHandler 2020-12-09 22:02:11 +01:00
ParsoidHTMLHelperTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
RevisionContentHelperTest.php Implement /revision/{id}/html endpoint 2020-12-14 16:54:35 +00:00
RevisionHTMLHandlerTest.php tests: Remove @param docs from test code that just repeat the signature 2021-01-21 03:41:23 +00:00
RevisionSourceHandlerTest.php Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
UpdateHandlerTest.php Split title mocking methods out of HandlerTestTrait. 2021-01-13 12:46:10 -06:00