Преглед изворни кода

Align test code to the latest changes in selection post-fixer.

Maciej Gołaszewski пре 6 година
родитељ
комит
0e15bad1dd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      packages/ckeditor5-image/tests/imagestyle/imagestylecommand.js

+ 1 - 1
packages/ckeditor5-image/tests/imagestyle/imagestylecommand.js

@@ -35,7 +35,7 @@ describe( 'ImageStyleCommand', () => {
 	} );
 
 	it( 'command value should be false if no image is selected', () => {
-		setData( model, '[]<image></image>' );
+		setData( model, '<p>[]</p><image></image>' );
 
 		expect( command.value ).to.be.false;
 	} );