瀏覽代碼

Fixed tests.

Piotrek Koszuliński 8 年之前
父節點
當前提交
5c51b25532
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-typing/tests/deletecommand.js

+ 2 - 2
packages/ckeditor5-typing/tests/deletecommand.js

@@ -46,11 +46,11 @@ describe( 'DeleteCommand', () => {
 
 
 				// We expect that command is executed in enqueue changes block. Since we are already in
 				// We expect that command is executed in enqueue changes block. Since we are already in
 				// an enqueued block, the command execution will be postponed. Hence, no changes.
 				// an enqueued block, the command execution will be postponed. Hence, no changes.
-				expect( getData( doc ) ).to.equal( '<p>foo[]bar</p>' );
+				expect( getData( doc ) ).to.equal( '<paragraph>foo[]bar</paragraph>' );
 			} );
 			} );
 
 
 			// After all enqueued changes are done, the command execution is reflected.
 			// After all enqueued changes are done, the command execution is reflected.
-			expect( getData( doc ) ).to.equal( '<p>fo[]bar</p>' );
+			expect( getData( doc ) ).to.equal( '<paragraph>fo[]bar</paragraph>' );
 		} );
 		} );
 
 
 		it( 'locks buffer when executing', () => {
 		it( 'locks buffer when executing', () => {