X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FRevisionTest.php;h=eb17588f024ba4726eb2f40b1e153a7b4b2d088b;hb=725a203bc1f35a5cd7624d4f1a116fb46667ca2d;hp=4623b3834127e91c2d65217cc91d4d4d1e9d0bcf;hpb=00c13cb4d5f978a57275e74752a4be734675be81;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/RevisionTest.php b/tests/phpunit/includes/RevisionTest.php index 4623b38341..eb17588f02 100644 --- a/tests/phpunit/includes/RevisionTest.php +++ b/tests/phpunit/includes/RevisionTest.php @@ -211,7 +211,7 @@ class RevisionTest extends MediaWikiTestCase { } function dataGetContentModel() { - //NOTE: we expect the help namespace to always contain wikitext + // NOTE: we expect the help namespace to always contain wikitext return array( array( 'hello world', 'Help:Hello', null, null, CONTENT_MODEL_WIKITEXT ), array( 'hello world', 'User:hello/there.css', null, null, CONTENT_MODEL_CSS ), @@ -231,7 +231,7 @@ class RevisionTest extends MediaWikiTestCase { } function dataGetContentFormat() { - //NOTE: we expect the help namespace to always contain wikitext + // NOTE: we expect the help namespace to always contain wikitext return array( array( 'hello world', 'Help:Hello', null, null, CONTENT_FORMAT_WIKITEXT ), array( 'hello world', 'Help:Hello', CONTENT_MODEL_CSS, null, CONTENT_FORMAT_CSS ), @@ -252,7 +252,7 @@ class RevisionTest extends MediaWikiTestCase { } function dataGetContentHandler() { - //NOTE: we expect the help namespace to always contain wikitext + // NOTE: we expect the help namespace to always contain wikitext return array( array( 'hello world', 'Help:Hello', null, null, 'WikitextContentHandler' ), array( 'hello world', 'User:hello/there.css', null, null, 'CssContentHandler' ), @@ -272,7 +272,7 @@ class RevisionTest extends MediaWikiTestCase { } function dataGetContent() { - //NOTE: we expect the help namespace to always contain wikitext + // NOTE: we expect the help namespace to always contain wikitext return array( array( 'hello world', 'Help:Hello', null, null, Revision::FOR_PUBLIC, 'hello world' ), array( @@ -312,7 +312,7 @@ class RevisionTest extends MediaWikiTestCase { } function dataGetText() { - //NOTE: we expect the help namespace to always contain wikitext + // NOTE: we expect the help namespace to always contain wikitext return array( array( 'hello world', 'Help:Hello', null, null, Revision::FOR_PUBLIC, 'hello world' ), array( serialize( 'hello world' ), 'Hello', "testing", null, Revision::FOR_PUBLIC, null ),