Преглед на файлове

Match tests with their descriptions.

Maciej Gołaszewski преди 5 години
родител
ревизия
858fc9cb73
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      packages/ckeditor5-table/tests/commands/setheaderrowcommand.js

+ 4 - 4
packages/ckeditor5-table/tests/commands/setheaderrowcommand.js

@@ -368,8 +368,8 @@ describe( 'SetHeaderRowCommand', () => {
 				const tableSelection = editor.plugins.get( TableSelection );
 				const modelRoot = model.document.getRoot();
 				tableSelection._setCellSelection(
-					modelRoot.getNodeByPath( [ 0, 13, 0 ] ),
-					modelRoot.getNodeByPath( [ 0, 2, 0 ] )
+					modelRoot.getNodeByPath( [ 0, 2, 0 ] ),
+					modelRoot.getNodeByPath( [ 0, 13, 0 ] )
 				);
 
 				command.execute();
@@ -415,8 +415,8 @@ describe( 'SetHeaderRowCommand', () => {
 				const tableSelection = editor.plugins.get( TableSelection );
 				const modelRoot = model.document.getRoot();
 				tableSelection._setCellSelection(
-					modelRoot.getNodeByPath( [ 0, 2, 0 ] ),
-					modelRoot.getNodeByPath( [ 0, 13, 1 ] )
+					modelRoot.getNodeByPath( [ 0, 13, 0 ] ),
+					modelRoot.getNodeByPath( [ 0, 2, 1 ] )
 				);
 
 				command.execute();