mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-09-24 02:38:57 +00:00
Remove unused test constant
Change-Id: I1ee23cd4f6ba5a6851d4717f303d2b880da338cd
This commit is contained in:
parent
c7dbd173b3
commit
a93b3c5185
|
@ -5,12 +5,10 @@
|
|||
* @license MIT
|
||||
*/
|
||||
|
||||
window.MWWIKITEXT_MOCK_API = true;
|
||||
|
||||
QUnit.module( 've.ui.MWWikitextStringTransferHandler (Cite)', QUnit.newMwEnvironment( {
|
||||
beforeEach: function () {
|
||||
// Mock XHR for mw.Api()
|
||||
this.server = window.MWWIKITEXT_MOCK_API ? this.sandbox.useFakeServer() : null;
|
||||
this.server = this.sandbox.useFakeServer();
|
||||
ve.test.utils.mwEnvironment.setup.call( this );
|
||||
},
|
||||
afterEach: ve.test.utils.mwEnvironment.teardown
|
||||
|
|
Loading…
Reference in a new issue