Explorar o código

Tests: Fix tests after changes in downcast API.

Maciej Gołaszewski %!s(int64=7) %!d(string=hai) anos
pai
achega
c14f8d1c47
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      packages/ckeditor5-highlight/tests/highlightediting.js

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

@@ -53,8 +53,8 @@ describe( 'HighlightEditing', () => {
 		it( 'should convert only one defined marker classes', () => {
 		it( 'should convert only one defined marker classes', () => {
 			editor.setData( '<p>f<mark class="marker-green marker-yellow">o</mark>o</p>' );
 			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', () => {
 		it( 'should not convert undefined marker classes', () => {