From: Antoine Musso Date: Mon, 17 Oct 2011 15:57:47 +0000 (+0000) Subject: add useful comments about portlet ids X-Git-Tag: 1.31.0-rc.0~27045 X-Git-Url: http://git.cyclocoop.org/%22.%24redirect_annul.%22?a=commitdiff_plain;h=ebe37e1a654fa1dda93185a77383a9537e67ff4f;p=lhc%2Fweb%2Fwiklou.git add useful comments about portlet ids comments comes from r95571 commit log by Krinkle --- diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js b/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js index 12c14ca394..da18f02f4a 100644 --- a/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js +++ b/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js @@ -142,6 +142,13 @@ test( '$content', function() { strictEqual( mw.util.$content.length, 1, 'mw.util.$content must have length of 1' ); }); + +/** + * Portlet names are prefixed with 'p-test' to avoid conflict with core + * when running the test suite under a wiki page. + * Previously, test elements where invisible to the selector since only + * one element can have a given id. + */ test( 'addPortletLink', function() { expect(7);