Get ~100% test coverage for ApiEditPage.php and fix a couple of bugs
[lhc/web/wiklou.git] / tests / common / TestsAutoLoader.php
index b994f8a..4df429c 100644 (file)
@@ -96,6 +96,8 @@ $wgAutoloadClasses += [
        'DummyContentForTesting' => "$testDir/phpunit/mocks/content/DummyContentForTesting.php",
        'DummyNonTextContentHandler' => "$testDir/phpunit/mocks/content/DummyNonTextContentHandler.php",
        'DummyNonTextContent' => "$testDir/phpunit/mocks/content/DummyNonTextContent.php",
+       'DummySerializeErrorContentHandler' =>
+               "$testDir/phpunit/mocks/content/DummySerializeErrorContentHandler.php",
        'ContentHandlerTest' => "$testDir/phpunit/includes/content/ContentHandlerTest.php",
        'JavaScriptContentTest' => "$testDir/phpunit/includes/content/JavaScriptContentTest.php",
        'TextContentTest' => "$testDir/phpunit/includes/content/TextContentTest.php",