This commit is contained in:
2024-02-07 16:27:20 -07:00
parent 0881acd1f8
commit 0e3e94ff65

View File

@@ -6,10 +6,14 @@ public class MonthDetailTests
public void TestCanGetMonthName() public void TestCanGetMonthName()
{ {
var calendarMonth = new CalendarMonth(2022, 2); var calendarMonth = new CalendarMonth(2022, 2);
#pragma warning disable BL0005 // Component parameter should not be set outside of its component.
var detail = new MonthDetail() var detail = new MonthDetail()
{ {
Month = calendarMonth Month = calendarMonth
}; };
#pragma warning restore BL0005 // Component parameter should not be set outside of its component.
detail.MonthName.Should().Be("February"); detail.MonthName.Should().Be("February");
} }