diff --git a/src/DEdge.Cardidy/Model/Cards.cs b/src/DEdge.Cardidy/Model/Cards.cs index 3bcfee7..792f803 100644 --- a/src/DEdge.Cardidy/Model/Cards.cs +++ b/src/DEdge.Cardidy/Model/Cards.cs @@ -56,7 +56,7 @@ internal record Maestro : ALuhnCard { public Maestro() : base(CardType.Maestro, new[] { 5018, 5020, 5038, 5893, 6304, 6759, 6761, 6762, 6763, //https://www.freebinchecker.com/belgium_maestro-bin-list-brand?hl=fr - 6703,6799,6775,6711,6708,6705,6709,6390,6792,6706 + 6703,6799,6775,6711,6708,6705,6709,6390,6792,6706,6704 }, From12To19) { } } diff --git a/src/Tests/IdentifyTests.cs b/src/Tests/IdentifyTests.cs index 19b6d9a..5ccd6bc 100644 --- a/src/Tests/IdentifyTests.cs +++ b/src/Tests/IdentifyTests.cs @@ -55,8 +55,8 @@ public class IdentifyTests [TestCase("5018-7100009012345", ExpectedResult = CardType.Maestro)] [TestCase("5018-71000090123456", ExpectedResult = CardType.Maestro)] [TestCase("5018-710000901234567", ExpectedResult = CardType.Maestro)] - [TestCase("67044- 4444444449", ExpectedResult = CardType.Maestro)] - [TestCase("670300- 0000000000003", ExpectedResult = CardType.Maestro)] + [TestCase("6704-44444444449", ExpectedResult = CardType.Maestro)] + [TestCase("6703-000000000000003", ExpectedResult = CardType.Maestro)] public CardType ShouldIdentifyAsMaestro(string cardNumber) => Cardidy.Identify(cardNumber, useCheck: false, ignoreNoise: true).First(); [TestCase("676770-0000901089", ExpectedResult = CardType.MaestroUk)]