From: Timo Tijhof Date: Thu, 8 May 2014 11:03:30 +0000 (+0200) Subject: mediawiki.user.test: Remove dated comment about "qunit/index.html" X-Git-Tag: 1.31.0-rc.0~15846 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=40b569aa389ea122c06c3d2742741b3cfc0ba246;p=lhc%2Fweb%2Fwiklou.git mediawiki.user.test: Remove dated comment about "qunit/index.html" That file was removed in MediaWiki 1.20. Change-Id: Iffeb039bbbc6843a83d3796541ebb1773281c01f --- diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js b/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js index f422bc1e27..e6c2b5c089 100644 --- a/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js +++ b/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js @@ -6,14 +6,8 @@ } ); QUnit.test( 'user status', 11, function ( assert ) { - /** - * Tests can be run under three different conditions: - * 1) From tests/qunit/index.html, user will be anonymous. - * 2) Logged in on [[Special:JavaScriptTest/qunit]] - * 3) Anonymously at the same special page. - */ - // Forge an anonymous user: + // Forge an anonymous user mw.config.set( 'wgUserName', null ); delete mw.config.values.wgUserId;