-( function ( mw ) {
+( function () {
QUnit.module( 'mediawiki.api.messages', QUnit.newMwEnvironment( {
setup: function () {
this.server = this.sandbox.useFakeServer();
}
} ) );
- QUnit.test( '.getMessages()', 1, function ( assert ) {
+ QUnit.test( '.getMessages()', function ( assert ) {
this.server.respondWith( /ammessages=foo%7Cbaz/, [
200,
{ 'Content-Type': 'application/json' },
);
} );
} );
-}( mediaWiki ) );
+}() );