Skip to content

Commit

Permalink
Fix test for clock type
Browse files Browse the repository at this point in the history
  • Loading branch information
danheron committed Mar 20, 2024
1 parent d548e5a commit 3e1b545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Heron.MudCalendar.UnitTests/Components/CalendarTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,6 @@ public void ClockType()

// Check 12 hour clock
comp.SetParam(x => x.Use24HourClock, false);
comp.FindAll("td.mud-cal-time-cell")[18].TextContent.Trim().Should().Be("6 PM");
comp.FindAll("td.mud-cal-time-cell")[18].TextContent.Trim().ToLower().Should().Be("6 pm");
}
}

0 comments on commit 3e1b545

Please sign in to comment.