Skip to content

Commit

Permalink
fix(summary): Fixes code typo where summary test fails on monday (#698)
Browse files Browse the repository at this point in the history
- [ ] New feature
- [x] Bug fix
- [ ] High impact

**Description of work:**

Due to a code typo a summary test started to fail on Mondays.

**Testing:**
- [x] Can be tested
- [x] Automatic tests created / updated
- [x] Local tests are passing



**Checklist:**
- [x] Considered automated tests
- [x] Considered updating specification / documentation
- [x] Considered work items 
- [x] Considered security
- [x] Performed developer testing
- [x] Checklist finalized / ready for review
  • Loading branch information
Jonathanio123 authored Sep 9, 2024
1 parent 39a9287 commit d334e71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public async Task PutWeeklySummaryReport_WithInvalidPeriodDate_ShouldReturnBadRe
{
var nowDate = DateTime.UtcNow;
if (nowDate.DayOfWeek == DayOfWeek.Monday)
report.Period = nowDate.AddDays(1);
nowDate = nowDate.AddDays(1);
report.Period = nowDate;
});

Expand Down

0 comments on commit d334e71

Please sign in to comment.