Skip to content

Commit

Permalink
Add test expectations for starting_on and ending_on
Browse files Browse the repository at this point in the history
  • Loading branch information
rlew421 committed Jul 17, 2023
1 parent a6e0bae commit 9301e98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Test/SubscriptionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,8 @@ public void CreateSubscriptionWithCustomRamps()

fromService.RampIntervals[0].StartingBillingCycle.Should().Be(1);
fromService.RampIntervals[0].UnitAmountInCents.Should().Be(500);
fromService.RampIntervals[0].StartingOn.Should().Be('2024-01-12T15:38:05Z');

Check failure on line 866 in Test/SubscriptionTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Too many characters in character literal

Check failure on line 866 in Test/SubscriptionTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Too many characters in character literal
fromService.RampIntervals[0].EndingOn.Should().Be('2024-02-12T15:38:05Z');

Check failure on line 867 in Test/SubscriptionTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Too many characters in character literal

Check failure on line 867 in Test/SubscriptionTest.cs

View workflow job for this annotation

GitHub Actions / Dotnet 5.0.x tests

Too many characters in character literal
fromService.RampIntervals[1].StartingBillingCycle.Should().Be(3);
fromService.RampIntervals[1].UnitAmountInCents.Should().Be(1000);
fromService.RampIntervals[2].StartingBillingCycle.Should().Be(4);
Expand Down

0 comments on commit 9301e98

Please sign in to comment.