From af4da56f1ad4d3ef7b06557bae365da2ea27a897 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 14 Nov 2013 23:19:13 +0100 Subject: Update to MediaWiki 1.21.3 --- tests/parser/parserTests.txt | 64 ++++++++++++++++++++++ tests/phpunit/includes/api/ApiBlockTest.php | 16 ------ .../resources/mediawiki/mediawiki.util.test.js | 4 +- 3 files changed, 66 insertions(+), 18 deletions(-) (limited to 'tests') diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e9218dec..f0603e75 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8470,6 +8470,70 @@ MSIE CSS safety test: comment in expression !! end +!! test +CSS safety test: vertical tab +!! input +

A

+!! result +

A

+ +!! end + +!! test +MSIE CSS safety test: Fullwidth +!! input +

A

+
B
+!! result +

A

+
B
+ +!! end + +!! test +MSIE CSS safety test: IPA extensions +!! input +
A
+

B

+!! result +
A
+

B

+ +!! end + +!! test +MSIE CSS safety test: sup/sub script +!! input +
A
+
B
+

C

+!! result +
A
+
B
+

C

+ +!! end + +!! test +MSIE CSS safety test: Repetition markers +!! input +

A

+

B

+

C

+

D

+

E

+

F

+

G

+!! result +

A

+

B

+

C

+

D

+

E

+

F

+

G

+ +!! end !! test Table attribute legitimate extension diff --git a/tests/phpunit/includes/api/ApiBlockTest.php b/tests/phpunit/includes/api/ApiBlockTest.php index 8f6b9352..94643b10 100644 --- a/tests/phpunit/includes/api/ApiBlockTest.php +++ b/tests/phpunit/includes/api/ApiBlockTest.php @@ -69,22 +69,6 @@ class ApiBlockTest extends ApiTestCase { } - /** - * @dataProvider provideBlockUnblockAction - */ - function testGetTokenUsingABlockingAction( $action ) { - $data = $this->doApiRequest( - array( - 'action' => $action, - 'user' => 'UTApiBlockee', - 'gettoken' => '' ), - null, - false, - self::$users['sysop']->user - ); - $this->assertEquals( 34, strlen( $data[0][$action]["{$action}token"] ) ); - } - /** * Attempting to block without a token should give a UsageException with * error message: diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js b/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js index bba3160a..6fc0731c 100644 --- a/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js +++ b/tests/qunit/suites/resources/mediawiki/mediawiki.util.test.js @@ -83,8 +83,8 @@ '' + '' + ''; - $( tocHtml ).appendTo( '#qunit-fixture' ), - $toggleLink = $( '#togglelink' ); + $( tocHtml ).appendTo( '#qunit-fixture' ); + $toggleLink = $( '#togglelink' ); assert.strictEqual( $toggleLink.length, 1, 'Toggle link is appended to the page.' ); -- cgit v1.2.2