Use MW import rules in MW tests

Bug: T150418
Depends-On: I6ad87b53446d7d9fcaf82e1d60e3f9968c4409b6
Change-Id: I5d7f24a7e36ddd3624ef120783ceec5063cf3711
This commit is contained in:
Ed Sanders 2019-09-10 14:13:42 +01:00 committed by Bartosz Dziewoński
parent f8d825838c
commit 90426ba496

View file

@ -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 );