Przeglądaj źródła

Tests: Fix tests after changes in downcast API.

Maciej Gołaszewski 7 lat temu
rodzic
commit
c14f8d1c47

+ 2 - 2
packages/ckeditor5-highlight/tests/highlightediting.js

@@ -53,8 +53,8 @@ describe( 'HighlightEditing', () => {
 		it( 'should convert only one defined marker classes', () => {
 			editor.setData( '<p>f<mark class="marker-green marker-yellow">o</mark>o</p>' );
 
-			expect( getModelData( model ) ).to.equal( '<paragraph>[]f<$text highlight="yellowMarker">o</$text>o</paragraph>' );
-			expect( editor.getData() ).to.equal( '<p>f<mark class="marker-yellow">o</mark>o</p>' );
+			expect( getModelData( model ) ).to.equal( '<paragraph>[]f<$text highlight="greenMarker">o</$text>o</paragraph>' );
+			expect( editor.getData() ).to.equal( '<p>f<mark class="marker-green">o</mark>o</p>' );
 		} );
 
 		it( 'should not convert undefined marker classes', () => {