Skip to content

Commit

Permalink
Use string values for starting on and ending on
Browse files Browse the repository at this point in the history
  • Loading branch information
rlew421 committed Jul 18, 2023
1 parent eb11637 commit 7cb7002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Test/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ public List<SubscriptionRampInterval> GetMockSubscriptionRampIntervals(int numbe
{
StartingBillingCycle = (i == 0) ? 1 : i + 2,
UnitAmountInCents = (numberOfRamps * 100) * (i + 1),
StartingOn = DateTime.Now.ToString,
EndingOn = DateTime(2023,09,15).Now.AddMonths(1).ToString
StartingOn = "2023-09-15T00:00:00Z",

Check failure on line 253 in Test/BaseTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Cannot implicitly convert type 'string' to 'System.DateTime'

Check failure on line 253 in Test/BaseTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Cannot implicitly convert type 'string' to 'System.DateTime'
EndingOn = "2023-10-15T00:00:00Z"

Check failure on line 254 in Test/BaseTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Cannot implicitly convert type 'string' to 'System.DateTime?'

Check failure on line 254 in Test/BaseTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Cannot implicitly convert type 'string' to 'System.DateTime?'
};
rampIntervals.Add(rampInterval);
}
Expand Down

0 comments on commit 7cb7002

Please sign in to comment.