Skip to content

Commit af075da

Browse files
committed
test(treeGrid): fix failing tests #5299
1 parent 9da765d commit af075da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-integration.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ describe('IgxTreeGrid - Integration ', () => {
855855
const grandChildRow = { ID: 13, ParentID: 12, Name: 'Asparuh Pulev', JobTitle: 'wrestler', Age: 14 };
856856
const trans = treeGrid.transactions;
857857

858-
treeGrid.addRow(rootRow, 0);
858+
treeGrid.addRow(rootRow);
859859
fix.detectChanges();
860860

861861
treeGrid.addRow(childRow, 11);
@@ -930,7 +930,7 @@ describe('IgxTreeGrid - Integration ', () => {
930930
JobTitle: 'Copywriter',
931931
Age: 22
932932
};
933-
treeGrid.addRow(newRow, 0);
933+
treeGrid.addRow(newRow);
934934
fix.detectChanges();
935935

936936
const addedRow = treeGrid.rowList.filter(r => r.rowID === addedRowId)[0] as IgxTreeGridRowComponent;
@@ -1329,7 +1329,7 @@ describe('IgxTreeGrid - Integration ', () => {
13291329
const grandChildRow = { ID: 13, ParentID: 12, Name: 'Asparuh Pulev', JobTitle: 'wrestler', Age: 14 };
13301330
const trans = treeGrid.transactions;
13311331

1332-
treeGrid.addRow(rootRow, 0);
1332+
treeGrid.addRow(rootRow);
13331333
fix.detectChanges();
13341334

13351335
treeGrid.addRow(childRow, 11);

0 commit comments

Comments
 (0)