File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
test/CheckoutSdkTest/Metadata Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <Version >4.8.1 </Version >
3+ <Version >4.9.0 </Version >
44 </PropertyGroup >
55</Project >
Original file line number Diff line number Diff line change @@ -25,7 +25,18 @@ private async Task ShouldRequestCardMetadataForCardNumber()
2525 Source = new CardMetadataCardSource { Number = CardNumberConstant } ,
2626 Format = CardMetadataFormatType . Basic
2727 } ;
28- await MakeCardMetadataRequest ( request ) ;
28+ CardMetadataResponse response = await DefaultApi . MetadataClient ( ) . RequestCardMetadata ( request ) ;
29+
30+ response . ShouldNotBeNull ( ) ;
31+ response . Bin . ShouldBe ( TestCardSource . Visa . Number [ ..11 ] ) ;
32+ response . Scheme . ShouldNotBeNull ( ) ;
33+ response . CardType . ShouldBeOfType < CardMetadataType > ( ) ;
34+ response . CardCategory . ShouldBeOfType < CardCategory > ( ) ;
35+ response . IssuerCountry . ShouldBeOfType < CountryCode > ( ) ;
36+ response . IssuerCountryName . ShouldNotBeNull ( ) ;
37+ response . ProductId . ShouldNotBeNull ( ) ;
38+ response . ProductType . ShouldNotBeNull ( ) ;
39+ response . HttpStatusCode . ShouldBe ( 200 ) ;
2940 }
3041
3142 [ Fact ( Skip = "unavailable" ) ]
You can’t perform that action at this time.
0 commit comments