Explorar el Código

Tests: Updated tests after recent changes in the heading package.

Piotrek Koszuliński hace 8 años
padre
commit
f66d07ad94
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/ckeditor5-autoformat/tests/autoformat.js

+ 2 - 2
packages/ckeditor5-autoformat/tests/autoformat.js

@@ -381,8 +381,8 @@ describe( 'Autoformat', () => {
 					plugins: [ Enter, Paragraph, Autoformat, ListEngine, HeadingEngine ],
 					plugins: [ Enter, Paragraph, Autoformat, ListEngine, HeadingEngine ],
 					heading: {
 					heading: {
 						options: [
 						options: [
-							{ modelElement: 'paragraph' },
-							{ modelElement: 'heading1', viewElement: 'h2' }
+							{ model: 'paragraph' },
+							{ model: 'heading1', view: 'h2' }
 						]
 						]
 					}
 					}
 				} )
 				} )