Skip to content

Commit

Permalink
test hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-chi committed Nov 16, 2024
1 parent 479b5d7 commit f0cb5f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion force-app/main/default/classes/DateUtilityTests.cls
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private class DateUtilityTests {
String dayStr = String.valueOf(dayCount);
Date lastN = DateUtility.convertAltRelativeDate('LAST_N_DAYS:' + dayStr);
Date nextN = DateUtility.convertAltRelativeDate('NEXT_N_DAYS:' + dayStr);
Date nAgo = DateUtility.convertAltRelativeDate('N_DAYS_AGO' + dayStr);
Date nAgo = DateUtility.convertAltRelativeDate('N_DAYS_AGO:' + dayStr);

System.Assert.areEqual(Date.today().addDays(dayCount * -1), lastN);
System.Assert.areEqual(Date.today().addDays(dayCount), nextN);
Expand Down

0 comments on commit f0cb5f0

Please sign in to comment.