Browse Source

Merge branch i/6324 to master.

Internal: Aligned to changes in ckeditor/ckeditor5#6381.
Piotrek Koszuliński 5 years ago
parent
commit
f4715e5ec5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-watchdog/tests/editorwatchdog.js

+ 1 - 1
packages/ckeditor5-watchdog/tests/editorwatchdog.js

@@ -937,7 +937,7 @@ describe( 'EditorWatchdog', () => {
 				constructor( sourceElements, config ) {
 					super( config );
 
-					this.data.processor = new HtmlDataProcessor( this.editing.view.document );
+					this.data.processor = new HtmlDataProcessor( this.data.viewDocument );
 
 					// Create a root for each source element.
 					for ( const rootName of Object.keys( sourceElements ) ) {