浏览代码

Tests: Update tests to the newest list feature schema.

Maciej Gołaszewski 7 年之前
父节点
当前提交
4bc462d7e0
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      packages/ckeditor5-typing/tests/deletecommand-integration.js

+ 4 - 4
packages/ckeditor5-typing/tests/deletecommand-integration.js

@@ -189,13 +189,13 @@ describe( 'DeleteCommand integration', () => {
 
 		it( 'should not throw an error if content with the image is being removed', () => {
 			setData( model,
-				'<listItem indent="0" type="numbered">OL List i[tem 1</listItem>' +
-				'<listItem indent="0" type="numbered">OL List item 2</listItem>]' +
+				'<listItem listIndent="0" listType="numbered">OL List i[tem 1</listItem>' +
+				'<listItem listIndent="0" listType="numbered">OL List item 2</listItem>]' +
 				'<image alt="bar" imageStyle="side" src="sample.jpg"><caption>[Caption</caption></image>' +
 				'<blockQuote>' +
 					'<paragraph>Quote</paragraph>' +
-					'<listItem indent="0" type="bulleted">Quoted UL List item 1</listItem>' +
-					'<listItem indent="0" type="bulleted">Quote]d UL List item 2</listItem>' +
+					'<listItem listIndent="0" listType="bulleted">Quoted UL List item 1</listItem>' +
+					'<listItem listIndent="0" listType="bulleted">Quote]d UL List item 2</listItem>' +
 					'<paragraph>Quote</paragraph>' +
 				'</blockQuote>'
 			);