mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "MWWikitextStringTransferHandler.test: Don't pass around an invalid doc"
This commit is contained in:
commit
59d52158a9
|
@ -20,7 +20,7 @@ function runWikitextStringHandlerTest( assert, server, string, mimeType, expecte
|
|||
var handler, i, j, name,
|
||||
done = assert.async(),
|
||||
item = ve.ui.DataTransferItem.static.newFromString( string, mimeType ),
|
||||
doc = new ve.dm.Document( [] ),
|
||||
doc = ve.dm.Document.static.newBlankDocument(),
|
||||
mockSurface = {
|
||||
getModel: function () {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue