Run RevisionIntegrationTest for both ContentHandlerUseDB settings
authoraddshore <addshorewiki@gmail.com>
Tue, 24 Oct 2017 13:41:21 +0000 (14:41 +0100)
committerAddshore <addshorewiki@gmail.com>
Fri, 10 Nov 2017 14:11:17 +0000 (14:11 +0000)
commitaab3e3be884ec98155788c9b9a2d3ed14fbadd43
tree955064425c88783956dfd1f0c4035c0540fd2d63
parentb6fe73db32f55b37072ec2275e405607fc934fc2
Run RevisionIntegrationTest for both ContentHandlerUseDB settings

core used to have a test case that ran various Revision tests
with and without ContentHandlerUseDB set, however it did not
run due to the class / file having a bad name.

This patch reintroduces the running on Revision tests for both
ContentHandlerUseDB settings.

The global has to be set in setup / before the page used for
testing is created, else this page will be created with the
wrong values in the DB for use in the tests.

Change-Id: Ied1023e22eeac413fa86ea6946aa31619fd66319
tests/common/TestsAutoLoader.php
tests/phpunit/includes/RevisionContentHandlerDbTest.php [new file with mode: 0644]
tests/phpunit/includes/RevisionDbTestBase.php [new file with mode: 0644]
tests/phpunit/includes/RevisionIntegrationTest.php [deleted file]
tests/phpunit/includes/RevisionNoContentHandlerDbTest.php [new file with mode: 0644]
tests/phpunit/includes/RevisionTest.php [new file with mode: 0644]
tests/phpunit/includes/RevisionUnitTest.php [deleted file]