Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/53188


Change subject: (DRAFT) QUnit: Fix more missing assertion numbers
......................................................................

(DRAFT) QUnit: Fix more missing assertion numbers

Change-Id: I214b3d4da46f3f3bb0fcde313ac2d82439e40e3c
---
M tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js
M 
tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
2 files changed, 6 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/88/53188/1

diff --git a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js 
b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js
index deff5b0..e7ee90d 100644
--- a/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js
+++ b/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js
@@ -635,7 +635,7 @@
        } );
 
        /** FIXME: the diff output is not very readeable. */
-       QUnit.test( 'bug 32047 - caption must be before thead', function ( 
assert ) {
+       QUnit.test( 'bug 32047 - caption must be before thead', 1, function ( 
assert ) {
                var $table;
                $table = $(
                        '<table class="sortable">' +
@@ -655,7 +655,7 @@
                );
        } );
 
-       QUnit.test( 'data-sort-value attribute, when available, should override 
sorting position', function ( assert ) {
+       QUnit.test( 'data-sort-value attribute, when available, should override 
sorting position', 2, function ( assert ) {
                var $table, data;
 
                // Example 1: All cells except one cell without data-sort-value,
@@ -925,7 +925,7 @@
                }
        );
 
-       QUnit.test( 'Sorting images using alt text', function ( assert ) {
+       QUnit.test( 'Sorting images using alt text', 1, function ( assert ) {
                var $table = $(
                        '<table class="sortable">' +
                                '<tr><th>THEAD</th></tr>' +
@@ -942,7 +942,7 @@
                );
        } );
 
-       QUnit.test( 'Sorting images using alt text (complex)', function ( 
assert ) {
+       QUnit.test( 'Sorting images using alt text (complex)', 1, function ( 
assert ) {
                var $table = $(
                        '<table class="sortable">' +
                                '<tr><th>THEAD</th></tr>' +
@@ -963,7 +963,7 @@
                );
        } );
 
-       QUnit.test( 'Sorting images using alt text (with format 
autodetection)', function ( assert ) {
+       QUnit.test( 'Sorting images using alt text (with format 
autodetection)', 1, function ( assert ) {
                var $table = $(
                        '<table class="sortable">' +
                                '<tr><th>THEAD</th></tr>' +
diff --git 
a/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
 
b/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
index 9389651..ee854ae 100644
--- 
a/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
+++ 
b/tests/qunit/suites/resources/mediawiki.special/mediawiki.special.recentchanges.test.js
@@ -3,7 +3,7 @@
 
        // TODO: verify checkboxes == [ 'nsassociated', 'nsinvert' ]
 
-       QUnit.test( '"all" namespace disable checkboxes', function ( assert ) {
+       QUnit.test( '"all" namespace disable checkboxes', 8, function ( assert 
) {
                var selectHtml, $env, $options;
 
                // from Special:Recentchanges

-- 
To view, visit https://gerrit.wikimedia.org/r/53188
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I214b3d4da46f3f3bb0fcde313ac2d82439e40e3c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Krinkle <ttij...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to