wiki.techinc.nl/tests/phpunit/includes/RevisionPreMcrDbTest.php
daniel 32e9266d8d Introduce per-schema unit tests for revision storage.
This introduces traits for testing different schema variations.
These are not very useful in this patch, but make it much easier
to add tests for MCR schema migration in subsequent patches.

The code in this patch was previously part of If259b1e1c49ceaa4.

Change-Id: I239572f75bebbc9c731a3e3860c4eff179dc15e4
2018-06-07 13:31:16 +00:00

23 lines
391 B
PHP

<?php
use MediaWiki\Tests\Storage\PreMcrSchemaOverride;
/**
* Tests Revision against the pre-MCR DB schema.
*
* @covers Revision
*
* @group Revision
* @group Storage
* @group ContentHandler
* @group Database
* @group medium
*/
class RevisionPreMcrDbTest extends RevisionDbTestBase {
use PreMcrSchemaOverride;
protected function getContentHandlerUseDB() {
return true;
}
}