8
0
Quellcode durchsuchen

Match tests with their descriptions.

Maciej Gołaszewski vor 5 Jahren
Ursprung
Commit
858fc9cb73
1 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  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();