wiki.techinc.nl/tests/phpunit/includes/Storage
Ostrzyciel 3d73bdf568 PageUpdater: create EditResult class
EditResult is an immutable object created during a page update by
the PageUpdater using a builder object, the EditResultBuilder.

EditResult is a container for information on how the edit
interacted with the page and previous revisions. It also aims to
provide a standardized way of describing reverts and reverted
edits. It is as simple as possible, with no dependencies on the DB
or global variables. Most of the logic is encapsulated in the
builder.

PageUpdater::getEditResult() replaces the following methods:
* getOriginalRevisionId()
* getUndidRevisionId()
They are both available in the EditResult object.

PageUpdater::markAsRevert() replaces
PageUpdater::setUndidRevisionId()

Bug: T254074
Change-Id: Ie04c38043d9c295552e488109436ec1df20bb2ca
2020-06-23 11:49:02 +02:00
..
BlobStoreFactoryTest.php storage: rename various $wikiId fields/parameters to $dbDomain 2019-06-28 00:57:04 +00:00
DerivedPageDataUpdaterTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
NameTableStoreFactoryTest.php Deprecate and stop using assertType(OrValue) 2019-12-15 00:07:59 +00:00
NameTableStoreTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
PageUpdaterTest.php PageUpdater: create EditResult class 2020-06-23 11:49:02 +02:00
RevisionSlotsUpdateTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
SqlBlobStoreTest.php Remove compat code for pre-MCR schema. 2020-03-24 19:45:47 +01:00