Maciej Gołaszewski hace 6 años
padre
commit
2d5e33d4f9

+ 2 - 2
packages/ckeditor5-restricted-editing/tests/restricteddocumentcommand.js

@@ -146,11 +146,11 @@ describe( 'RestrictedDocumentCommand', () => {
 		} );
 
 		it( 'should remove attribute from selected nodes if the command value was true', () => {
-			setData( model, '<p>abc[<$text nonRestricted="true">foo]bar</$text>xyz</p>' );
+			setData( model, '<p>abc[<$text nonRestricted="true">foo]bar</$text>baz</p>' );
 
 			command.execute();
 
-			expect( getData( model ) ).to.equal( '<p>abc[foo]<$text nonRestricted="true">bar</$text>xyz</p>' );
+			expect( getData( model ) ).to.equal( '<p>abc[foo]<$text nonRestricted="true">bar</$text>baz</p>' );
 		} );
 	} );
 } );