Skip to content

Commit

Permalink
#2948 Update test for progress percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalizer committed Jan 10, 2025
1 parent 8bfdd15 commit 03187ae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ class ExportWithoutHeaderIT extends ExportBaseIntSpec {

then:
validateExport(excelExport.file, [
["User ID", "Last Name", "First Name", "Org", "Level", "Current Points", "Points First Earned (UTC)", "Points Last Earned (UTC)"],
[getUserIdForDisplay(user2), getName(user2, false), getName(user2), "", "1.0", "60.0", today.format("dd-MMM-yyyy"), today.format("dd-MMM-yyyy")],
[getUserIdForDisplay(user1), getName(user1, false), getName(user1), "", "2.0", "100.0", fiveDaysAgo.format("dd-MMM-yyyy"), oneDayAgo.format("dd-MMM-yyyy")],
["User ID", "Last Name", "First Name", "Org", "Level", "Current Points", "Percent Complete", "Points First Earned (UTC)", "Points Last Earned (UTC)"],
[getUserIdForDisplay(user2), getName(user2, false), getName(user2), "", "1.0", "60.0", "0.2", today.format("dd-MMM-yyyy"), today.format("dd-MMM-yyyy")],
[getUserIdForDisplay(user1), getName(user1, false), getName(user1), "", "2.0", "100.0", "0.3333333333", fiveDaysAgo.format("dd-MMM-yyyy"), oneDayAgo.format("dd-MMM-yyyy")],
])
}

Expand Down

0 comments on commit 03187ae

Please sign in to comment.