Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Fixxed unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-dev003 committed Oct 21, 2022
1 parent f606f2c commit 25342e4
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ public void InitializeTests()

Assert.Equal(0, unitUnderTest.SelectedIndexQ1);
Assert.Equal(0, unitUnderTest.SelectedIndexQ2);
Assert.Equal(string.Format(AppResources.SurveyPageAppStartDateText, testNow.ToLocalTime().ToString("yyyy年MM月dd日")),
unitUnderTest.AppStartDateText);
Assert.Equal(testNow.ToString("d"), unitUnderTest.AppStartDate);
}


Expand All @@ -92,8 +91,8 @@ public void InitializeTests_StartDateDefault(

if (MockTimeZoneInfo.IsJst())
{
var expectedText = string.Format("{0}{1}{2}", expectedYear, expectedMonth, expectedDay);
Assert.Equal(expectedText, unitUnderTest.AppStartDateText);
var expectedText = string.Format("{0}/{1}/{2}", expectedYear, expectedMonth, expectedDay);
Assert.Equal(expectedText, unitUnderTest.AppStartDate);
}
}

Expand Down

0 comments on commit 25342e4

Please sign in to comment.