Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 239
openapi_spec_hash: ec98ee98f7777d5d0f87bcb178e47d8d
openapi_spec_hash: 9a0cb386fed2275f199e490e83da391c
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ public class EventCategoryTest : TestBase
[InlineData(EventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(EventCategory.InboundWireTransferCreated)]
[InlineData(EventCategory.InboundWireTransferUpdated)]
[InlineData(EventCategory.InterestRatePlanCreated)]
[InlineData(EventCategory.InterestRatePlanUpdated)]
[InlineData(EventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(EventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(EventCategory.IntrafiExclusionCreated)]
Expand Down Expand Up @@ -390,6 +392,8 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(EventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(EventCategory.InboundWireTransferCreated)]
[InlineData(EventCategory.InboundWireTransferUpdated)]
[InlineData(EventCategory.InterestRatePlanCreated)]
[InlineData(EventCategory.InterestRatePlanUpdated)]
[InlineData(EventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(EventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(EventCategory.IntrafiExclusionCreated)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,12 @@ public class EventSubscriptionSelectedEventCategoryEventCategoryTest : TestBase
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InboundWireTransferUpdated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InterestRatePlanCreated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InterestRatePlanUpdated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.IntrafiAccountEnrollmentCreated
)]
Expand Down Expand Up @@ -872,6 +878,12 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InboundWireTransferUpdated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InterestRatePlanCreated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.InterestRatePlanUpdated
)]
[InlineData(
EventSubscriptions::EventSubscriptionSelectedEventCategoryEventCategory.IntrafiAccountEnrollmentCreated
)]
Expand Down
4 changes: 4 additions & 0 deletions src/Increase.Api.Tests/Models/Events/EventListParamsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ public class InTest : TestBase
[InlineData(In.InboundWireDrawdownRequestCreated)]
[InlineData(In.InboundWireTransferCreated)]
[InlineData(In.InboundWireTransferUpdated)]
[InlineData(In.InterestRatePlanCreated)]
[InlineData(In.InterestRatePlanUpdated)]
[InlineData(In.IntrafiAccountEnrollmentCreated)]
[InlineData(In.IntrafiAccountEnrollmentUpdated)]
[InlineData(In.IntrafiExclusionCreated)]
Expand Down Expand Up @@ -475,6 +477,8 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(In.InboundWireDrawdownRequestCreated)]
[InlineData(In.InboundWireTransferCreated)]
[InlineData(In.InboundWireTransferUpdated)]
[InlineData(In.InterestRatePlanCreated)]
[InlineData(In.InterestRatePlanUpdated)]
[InlineData(In.IntrafiAccountEnrollmentCreated)]
[InlineData(In.IntrafiAccountEnrollmentUpdated)]
[InlineData(In.IntrafiExclusionCreated)]
Expand Down
4 changes: 4 additions & 0 deletions src/Increase.Api.Tests/Models/Events/EventTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ public class EventCategoryTest : TestBase
[InlineData(Events::EventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(Events::EventCategory.InboundWireTransferCreated)]
[InlineData(Events::EventCategory.InboundWireTransferUpdated)]
[InlineData(Events::EventCategory.InterestRatePlanCreated)]
[InlineData(Events::EventCategory.InterestRatePlanUpdated)]
[InlineData(Events::EventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(Events::EventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(Events::EventCategory.IntrafiExclusionCreated)]
Expand Down Expand Up @@ -338,6 +340,8 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(Events::EventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(Events::EventCategory.InboundWireTransferCreated)]
[InlineData(Events::EventCategory.InboundWireTransferUpdated)]
[InlineData(Events::EventCategory.InterestRatePlanCreated)]
[InlineData(Events::EventCategory.InterestRatePlanUpdated)]
[InlineData(Events::EventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(Events::EventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(Events::EventCategory.IntrafiExclusionCreated)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ public class UnwrapWebhookEventCategoryTest : TestBase
[InlineData(UnwrapWebhookEventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(UnwrapWebhookEventCategory.InboundWireTransferCreated)]
[InlineData(UnwrapWebhookEventCategory.InboundWireTransferUpdated)]
[InlineData(UnwrapWebhookEventCategory.InterestRatePlanCreated)]
[InlineData(UnwrapWebhookEventCategory.InterestRatePlanUpdated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiExclusionCreated)]
Expand Down Expand Up @@ -338,6 +340,8 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(UnwrapWebhookEventCategory.InboundWireDrawdownRequestCreated)]
[InlineData(UnwrapWebhookEventCategory.InboundWireTransferCreated)]
[InlineData(UnwrapWebhookEventCategory.InboundWireTransferUpdated)]
[InlineData(UnwrapWebhookEventCategory.InterestRatePlanCreated)]
[InlineData(UnwrapWebhookEventCategory.InterestRatePlanUpdated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiAccountEnrollmentCreated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiAccountEnrollmentUpdated)]
[InlineData(UnwrapWebhookEventCategory.IntrafiExclusionCreated)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public void FieldRoundtrip_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -75,6 +76,7 @@ public void FieldRoundtrip_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -130,6 +132,7 @@ public void SerializationRoundtrip_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -188,6 +191,7 @@ public void FieldRoundtripThroughSerialization_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -239,6 +243,7 @@ public void FieldRoundtripThroughSerialization_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -294,6 +299,7 @@ public void Validation_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -345,6 +351,7 @@ public void CopyConstructor_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public void FieldRoundtrip_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -65,6 +66,9 @@ public void FieldRoundtrip_Works()
},
];
long expectedAmount = 1000;
DateTimeOffset expectedAutomaticallyResolvesAt = DateTimeOffset.Parse(
"2020-01-31T23:59:59Z"
);
string expectedBackImageFileID = "file_makxrc67oh9l6sg7w9yc";
string expectedBankOfFirstDepositRoutingNumber = "101050001";
string expectedCheckNumber = "123";
Expand Down Expand Up @@ -97,6 +101,7 @@ public void FieldRoundtrip_Works()
Assert.Equal(expectedAdjustments[i], model.Adjustments[i]);
}
Assert.Equal(expectedAmount, model.Amount);
Assert.Equal(expectedAutomaticallyResolvesAt, model.AutomaticallyResolvesAt);
Assert.Equal(expectedBackImageFileID, model.BackImageFileID);
Assert.Equal(
expectedBankOfFirstDepositRoutingNumber,
Expand Down Expand Up @@ -136,6 +141,7 @@ public void SerializationRoundtrip_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -186,6 +192,7 @@ public void FieldRoundtripThroughSerialization_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -229,6 +236,9 @@ public void FieldRoundtripThroughSerialization_Works()
},
];
long expectedAmount = 1000;
DateTimeOffset expectedAutomaticallyResolvesAt = DateTimeOffset.Parse(
"2020-01-31T23:59:59Z"
);
string expectedBackImageFileID = "file_makxrc67oh9l6sg7w9yc";
string expectedBankOfFirstDepositRoutingNumber = "101050001";
string expectedCheckNumber = "123";
Expand Down Expand Up @@ -261,6 +271,7 @@ public void FieldRoundtripThroughSerialization_Works()
Assert.Equal(expectedAdjustments[i], deserialized.Adjustments[i]);
}
Assert.Equal(expectedAmount, deserialized.Amount);
Assert.Equal(expectedAutomaticallyResolvesAt, deserialized.AutomaticallyResolvesAt);
Assert.Equal(expectedBackImageFileID, deserialized.BackImageFileID);
Assert.Equal(
expectedBankOfFirstDepositRoutingNumber,
Expand Down Expand Up @@ -300,6 +311,7 @@ public void Validation_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down Expand Up @@ -344,6 +356,7 @@ public void CopyConstructor_Works()
},
],
Amount = 1000,
AutomaticallyResolvesAt = DateTimeOffset.Parse("2020-01-31T23:59:59Z"),
BackImageFileID = "file_makxrc67oh9l6sg7w9yc",
BankOfFirstDepositRoutingNumber = "101050001",
CheckNumber = "123",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ public void FieldRoundtrip_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand All @@ -36,6 +37,7 @@ public void FieldRoundtrip_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand Down Expand Up @@ -65,6 +67,7 @@ public void SerializationRoundtrip_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand Down Expand Up @@ -96,6 +99,7 @@ public void FieldRoundtripThroughSerialization_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand All @@ -120,6 +124,7 @@ public void FieldRoundtripThroughSerialization_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand Down Expand Up @@ -149,6 +154,7 @@ public void Validation_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand All @@ -174,6 +180,7 @@ public void CopyConstructor_Works()
AchTransfers = RoutingNumberListResponseAchTransfers.Supported,
FednowTransfers = RoutingNumberListResponseFednowTransfers.Supported,
Name = "First Bank of the United States",
RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPayment.Supported,
RealTimePaymentsTransfers =
RoutingNumberListResponseRealTimePaymentsTransfers.Supported,
RoutingNumber = "021000021",
Expand Down
Loading