From 6204637fb83f086949599ec9be6d3705a42ea2db Mon Sep 17 00:00:00 2001 From: "Walisson Pires R. Miranda" Date: Fri, 29 Nov 2024 09:20:47 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20valida=C3=A7=C3=A3o=20I?= =?UTF-8?q?E=20Goias?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DocsBr.Tests/IEGoiasValidatorTests.cs | 2 +- DocsBr/Validation/IE/IEGoiasValidator.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DocsBr.Tests/IEGoiasValidatorTests.cs b/DocsBr.Tests/IEGoiasValidatorTests.cs index 5a4bb94..1e65d4b 100644 --- a/DocsBr.Tests/IEGoiasValidatorTests.cs +++ b/DocsBr.Tests/IEGoiasValidatorTests.cs @@ -9,7 +9,7 @@ public class IEGoiasValidatorTests : IEValidatorTests private static string[] validValues = { "10.987.654-7", "10.103.119-1", "15.368.273-6", - "15.368.273-6", "110944020", "110944021" + "15.368.273-6", "110944020", "110944021", "201050412" }; private static string[] invalidValues = { "10.987.654-8", "10.103.119-2", "15.368.273-7", "12.345.678-9" }; diff --git a/DocsBr/Validation/IE/IEGoiasValidator.cs b/DocsBr/Validation/IE/IEGoiasValidator.cs index 3323afb..606d9bc 100644 --- a/DocsBr/Validation/IE/IEGoiasValidator.cs +++ b/DocsBr/Validation/IE/IEGoiasValidator.cs @@ -35,7 +35,7 @@ private bool IsSizeValid() private bool BeginsCorrectly() { string beginIE = this.inscEstadual.Substring(0, 2); - string[] correctBegins = {"10", "11", "15"}; + string[] correctBegins = {"10", "11", "15", "20", "29"}; return correctBegins.Contains(beginIE); }