From fc79eed935087b9a906aa3eeb7d8024cb5b3cf86 Mon Sep 17 00:00:00 2001 From: Nawfal Ahmed Date: Wed, 3 Apr 2024 03:51:47 +0500 Subject: [PATCH] test: update tests --- src/users/enrollments/Enrollments.test.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/users/enrollments/Enrollments.test.jsx b/src/users/enrollments/Enrollments.test.jsx index bdd27522d..965baaee7 100644 --- a/src/users/enrollments/Enrollments.test.jsx +++ b/src/users/enrollments/Enrollments.test.jsx @@ -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)); @@ -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)); });