Skip to content
Merged
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: e95ac51d0818ef7b5b5b9f7606d5891b
openapi_spec_hash: 49d468466a752f8ea72af00d00683f50
config_hash: 1ca082e374ef7000e2a5971e8da740e0
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

259 changes: 259 additions & 0 deletions src/Increase.Api.Tests/Models/Entities/EntityListPageResponseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,43 @@ public void FieldRoundtrip_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -409,6 +446,43 @@ public void FieldRoundtrip_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -677,6 +751,43 @@ public void SerializationRoundtrip_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -947,6 +1058,43 @@ public void FieldRoundtripThroughSerialization_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -1210,6 +1358,43 @@ public void FieldRoundtripThroughSerialization_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -1478,6 +1663,43 @@ public void Validation_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down Expand Up @@ -1742,6 +1964,43 @@ public void CopyConstructor_Works()
RatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Rating = Entities::EntityRiskRatingRating.Low,
},
SoleProprietorship = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DoingBusinessAsName = "doing_business_as_name",
Email = "email",
IndustryCode = "industry_code",
SoleProprietor = new()
{
Address = new()
{
City = "New York",
Country = "US",
Line1 = "33 Liberty Street",
Line2 = null,
State = "NY",
Zip = "10045",
},
DateOfBirth = "2019-12-27",
Identification = new()
{
Method =
Entities::SoleProprietorIdentificationMethod.SocialSecurityNumber,
NumberLast4 = "number_last4",
},
Name = "name",
},
TaxIdentifier = "tax_identifier",
Website = "website",
},
Status = Entities::EntityStatus.Active,
Structure = Entities::EntityStructure.Corporation,
SupplementalDocuments =
Expand Down
Loading