summaryrefslogtreecommitdiff
path: root/tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js')
-rw-r--r--tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js b/tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js
index 5965ab7b..64a51847 100644
--- a/tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js
+++ b/tests/qunit/suites/resources/mediawiki.api/mediawiki.api.watch.test.js
@@ -17,12 +17,12 @@
} );
api.watch( [ 'Foo' ] ).done( function ( items ) {
- assert.equal( items[0].title, 'Foo' );
+ assert.equal( items[ 0 ].title, 'Foo' );
} );
api.watch( [ 'Foo', 'Bar' ] ).done( function ( items ) {
- assert.equal( items[0].title, 'Foo' );
- assert.equal( items[1].title, 'Bar' );
+ assert.equal( items[ 0 ].title, 'Foo' );
+ assert.equal( items[ 1 ].title, 'Bar' );
} );
// Requests are POST, match requestBody instead of url