8
0
Просмотр исходного кода

Tests: Merge attributes definitions in upcast-converters tests.

Maciej Gołaszewski 7 лет назад
Родитель
Сommit
30ddfe6b95
1 измененных файлов с 1 добавлено и 5 удалено
  1. 1 5
      packages/ckeditor5-engine/tests/conversion/upcast-converters.js

+ 1 - 5
packages/ckeditor5-engine/tests/conversion/upcast-converters.js

@@ -36,11 +36,7 @@ describe( 'upcast-helpers', () => {
 
 		schema.extend( '$text', {
 			allowIn: '$root',
-			allowAttributes: [ 'bold' ]
-		} );
-		schema.extend( '$text', {
-			allowIn: '$root',
-			allowAttributes: [ 'attribA', 'attribB' ]
+			allowAttributes: [ 'bold', 'attribA', 'attribB' ]
 		} );
 
 		schema.register( 'paragraph', {