mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Use MW import rules in MW tests
Bug: T150418 Depends-On: I6ad87b53446d7d9fcaf82e1d60e3f9968c4409b6 Change-Id: I5d7f24a7e36ddd3624ef120783ceec5063cf3711
This commit is contained in:
parent
f8d825838c
commit
90426ba496
|
@ -21,6 +21,8 @@
|
|||
return new mw.Api().post();
|
||||
};
|
||||
ve.test.utils.MWDummyTarget = MWDummyTarget;
|
||||
// Copy import rules from mw target, for paste tests.
|
||||
ve.test.utils.MWDummyTarget.static.importRules = ve.init.mw.Target.static.importRules;
|
||||
|
||||
function MWDummyPlatform() {
|
||||
MWDummyPlatform.super.apply( this, arguments );
|
||||
|
|
Loading…
Reference in a new issue