wiki.techinc.nl/tests/phpunit/unit/includes/page
Daimona Eaytoy 73f0ae36a3 Make DeletePage a real service
- Switch do actual DI
- Add some more parameters for needed dependencies
- Create a factory interface, implement it in PageCommandFactory and add
  wiring for it.
- Add new unit tests for DeletePage; unfortunately, this requires
  conditionally disabling some code during tests due to dependencies on
  legacy code that hasn't been migrated yet. I believe that these
  temporary hacks are acceptable, since they allow us to use real unit
  tests immediately.
- Adjust WikiPageDbTest: the two logging tests were identical as of
  Ie0d9da2c8d273c93301921e1e108d9ffb381b8a5; and then the logging part
  could just be part of the "main" test.
- Add integration tests for DeletePage. For now, these are all copying
  their WikiPageDbTest counterpart. More tests will be added soon™.

Bug: T288758
Change-Id: I2fb79ed905ce621cb87f0658983d97148948da28
2021-09-08 11:43:04 +00:00
..
DeletePageTest.php Make DeletePage a real service 2021-09-08 11:43:04 +00:00
PageCommandFactoryTest.php Make DeletePage a real service 2021-09-08 11:43:04 +00:00
PageIdentityValueTest.php Add convenience constructors for PageReference/Identity 2021-06-07 07:31:24 -07:00
PageReferenceValueTest.php Add convenience constructors for PageReference/Identity 2021-06-07 07:31:24 -07:00
PageStoreFactoryTest.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
PageStoreRecordTest.php Remove harmful validation regex in PageReferenceValue 2021-05-06 11:56:12 +10:00