Skip to content

Commit

Permalink
test: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NawfalAhmed committed Apr 2, 2024
1 parent bd6a0c4 commit fc79eed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/users/enrollments/Enrollments.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe('Course Enrollments Listing', () => {
const extraDataTable = extraTables.at(0);
const extraTableHeaders = extraDataTable.find('thead tr th');
expect(extraTableHeaders.length).toEqual(4);
['Last Modified', 'Last Modified By', 'Reason', 'Order Number'].forEach((expectedHeader, index) => expect(
['Last Modified', 'Last Modified By', 'Reason', 'Order Number', 'Source System'].forEach((expectedHeader, index) => expect(
extraTableHeaders.at(index).text(),
).toEqual(expectedHeader));

Expand Down Expand Up @@ -147,7 +147,7 @@ describe('Course Enrollments Listing', () => {
const extraDataTable = extraTables.at(0);
const extraTableHeaders = extraDataTable.find('thead tr th');
expect(extraTableHeaders.length).toEqual(4);
['Last Modified', 'Last Modified By', 'Reason', 'Order Number'].forEach((expectedHeader, idx) => expect(
['Last Modified', 'Last Modified By', 'Reason', 'Order Number', 'Source System'].forEach((expectedHeader, idx) => expect(
extraTableHeaders.at(idx).text(),
).toEqual(expectedHeader));
});
Expand Down

0 comments on commit fc79eed

Please sign in to comment.