From 1a8f08190cf43da1ecf601bd9b60b49a0007c4c1 Mon Sep 17 00:00:00 2001 From: Mauro Costa Date: Wed, 26 Jun 2024 10:28:21 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20corre=C3=A7=C3=B5es=20de=20testes=20func?= =?UTF-8?q?ionais?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests_sei4/funcional/tests/CenarioBaseTestCase.php | 2 +- .../tests/TramiteProcessoRestritoHipotesePadraoTest.php | 2 +- tests_sei41/funcional/tests/CenarioBaseTestCase.php | 2 +- .../tests/TramiteProcessoRestritoHipotesePadraoTest.php | 2 +- tests_super/funcional/tests/CenarioBaseTestCase.php | 2 +- .../tests/TramiteProcessoRestritoHipotesePadraoTest.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests_sei4/funcional/tests/CenarioBaseTestCase.php b/tests_sei4/funcional/tests/CenarioBaseTestCase.php index e0ee2c299..61f04380d 100755 --- a/tests_sei4/funcional/tests/CenarioBaseTestCase.php +++ b/tests_sei4/funcional/tests/CenarioBaseTestCase.php @@ -559,7 +559,7 @@ protected function validarProcessosTramitados($protocolo, $deveExistir) $this->frame(null); $this->paginaBase->navegarParaControleProcesso(); $this->byId("txtInfraPesquisarMenu")->value(utf8_encode('Processos em Tramitação Externa')); - $this->byLinkText("Processos em Tramitação Externa")->click(); + $this->byLinkText(utf8_encode("Processos em Tramitação Externa"))->click(); $this->assertEquals($deveExistir, $this->paginaProcessosTramitadosExternamente->contemProcesso($protocolo)); } diff --git a/tests_sei4/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php b/tests_sei4/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php index 5f60313b0..0256ba747 100755 --- a/tests_sei4/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php +++ b/tests_sei4/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php @@ -127,7 +127,7 @@ public function test_verificar_destino_processo_restrito_hipotese_nao_mapeada() self::$processoTeste['RESTRICAO'], self::$processoTeste['OBSERVACOES'], array(self::$processoTeste['INTERESSADOS']), - self::$destinatario["HIPOTESE_RESTRICAO_PADRAO"]); + self::$destinatario["HIPOTESE_RESTRICAO_NAO_MAPEADO"]); // 13 - Verificar recibos de trâmite $this->validarRecibosTramite("Recebimento do Processo $strProtocoloTeste", false, true); diff --git a/tests_sei41/funcional/tests/CenarioBaseTestCase.php b/tests_sei41/funcional/tests/CenarioBaseTestCase.php index 4ede0c589..7fbff17df 100755 --- a/tests_sei41/funcional/tests/CenarioBaseTestCase.php +++ b/tests_sei41/funcional/tests/CenarioBaseTestCase.php @@ -559,7 +559,7 @@ protected function validarProcessosTramitados($protocolo, $deveExistir) $this->frame(null); $this->paginaBase->navegarParaControleProcesso(); $this->byId("txtInfraPesquisarMenu")->value(utf8_encode('Processos em Tramitação Externa')); - $this->byLinkText("Processos em Tramitação Externa")->click(); + $this->byLinkText(utf8_encode('Processos em Tramitação Externa'))->click(); $this->assertEquals($deveExistir, $this->paginaProcessosTramitadosExternamente->contemProcesso($protocolo)); } diff --git a/tests_sei41/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php b/tests_sei41/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php index 5f60313b0..0256ba747 100755 --- a/tests_sei41/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php +++ b/tests_sei41/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php @@ -127,7 +127,7 @@ public function test_verificar_destino_processo_restrito_hipotese_nao_mapeada() self::$processoTeste['RESTRICAO'], self::$processoTeste['OBSERVACOES'], array(self::$processoTeste['INTERESSADOS']), - self::$destinatario["HIPOTESE_RESTRICAO_PADRAO"]); + self::$destinatario["HIPOTESE_RESTRICAO_NAO_MAPEADO"]); // 13 - Verificar recibos de trâmite $this->validarRecibosTramite("Recebimento do Processo $strProtocoloTeste", false, true); diff --git a/tests_super/funcional/tests/CenarioBaseTestCase.php b/tests_super/funcional/tests/CenarioBaseTestCase.php index 3032d1d41..a7fb2808f 100755 --- a/tests_super/funcional/tests/CenarioBaseTestCase.php +++ b/tests_super/funcional/tests/CenarioBaseTestCase.php @@ -608,7 +608,7 @@ protected function validarProcessosTramitados($protocolo, $deveExistir) $this->frame(null); $this->paginaBase->navegarParaControleProcesso(); $this->byId("txtInfraPesquisarMenu")->value(utf8_encode('Processos em Tramitação Externa')); - $this->byLinkText("Processos em Tramitação Externa")->click(); + $this->byLinkText(utf8_encode("Processos em Tramitação Externa"))->click(); $this->assertEquals($deveExistir, $this->paginaProcessosTramitadosExternamente->contemProcesso($protocolo)); } diff --git a/tests_super/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php b/tests_super/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php index 5f60313b0..0256ba747 100755 --- a/tests_super/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php +++ b/tests_super/funcional/tests/TramiteProcessoRestritoHipotesePadraoTest.php @@ -127,7 +127,7 @@ public function test_verificar_destino_processo_restrito_hipotese_nao_mapeada() self::$processoTeste['RESTRICAO'], self::$processoTeste['OBSERVACOES'], array(self::$processoTeste['INTERESSADOS']), - self::$destinatario["HIPOTESE_RESTRICAO_PADRAO"]); + self::$destinatario["HIPOTESE_RESTRICAO_NAO_MAPEADO"]); // 13 - Verificar recibos de trâmite $this->validarRecibosTramite("Recebimento do Processo $strProtocoloTeste", false, true);