Skip to content

Commit

Permalink
Add StartingOn and EndingOn to mock sub ramp intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
rlew421 committed Jul 17, 2023
1 parent 9301e98 commit a7f4384
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Test/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ public List<SubscriptionRampInterval> GetMockSubscriptionRampIntervals(int numbe
var rampInterval = new SubscriptionRampInterval()
{
StartingBillingCycle = (i == 0) ? 1 : i + 2,
UnitAmountInCents = (numberOfRamps * 100) * (i + 1)
UnitAmountInCents = (numberOfRamps * 100) * (i + 1),
StartingOn = (i == 0) ? $"2024-01-12T15:38:05Z" : $"2024-0{i+2}-12T15:38:05Z",
EndingOn = $"2024-0{StartingOn + 1}-12T15:38:05Z"
};
rampIntervals.Add(rampInterval);
}
Expand Down

0 comments on commit a7f4384

Please sign in to comment.