fix test: use text/x-wiki, not application/x-wiki
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 26 Apr 2012 10:17:47 +0000 (12:17 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 26 Apr 2012 10:17:47 +0000 (12:17 +0200)
tests/phpunit/includes/RevisionTest.php

index a529e97..758b641 100644 (file)
@@ -198,7 +198,7 @@ class RevisionTest extends MediaWikiTestCase {
 
        function dataGetContentFormat() {
                return array(
-                       array( 'hello world', 'Hello', null, null, 'application/x-wiki' ),
+                       array( 'hello world', 'Hello', null, null, 'text/x-wiki' ),
                        array( 'hello world', 'Hello', CONTENT_MODEL_CSS, null, 'text/css' ),
                        array( 'hello world', 'User:hello/there.css', null, null, 'text/css' ),
                        array( serialize('hello world'), 'Dummy:Hello', null, null, 'dummy' ),