From 862fc9900844233a5a43507be27c23f9d87125d6 Mon Sep 17 00:00:00 2001 From: zfighou Date: Tue, 5 Sep 2023 17:04:17 +0200 Subject: [PATCH] update test --- src/DEdge.Cardidy/Model/Cards.cs | 2 +- src/Tests/IdentifyTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)]