mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
hooks
This commit is contained in:
@@ -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");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user