Skip to content

Commit

Permalink
Merge pull request #44 from alexsmonte/master
Browse files Browse the repository at this point in the history
Os valores do correios mudaram novamente e os testes já nao funcionav…
  • Loading branch information
jrbasso authored Jan 11, 2017
2 parents 1f5fcc2 + e963a92 commit fc3db72
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/TestCase/Model/Behavior/CorreiosTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,12 @@ public function testValorFrete()
$this->assertEquals(CorreiosTrait::$ERRO_CORREIOS_PARAMETROS_INVALIDOS, $this->Correios->valorFrete(array_merge($dados, $pesoNegativo)));

$correios = $this->Correios->valorFrete($dados);

$this->assertEquals([
'valorMaoPropria' => '5,50',
'valorMaoPropria' => '0,00',
'valorTarifaValorDeclarado' => '0,00',
'valorFrete' => 40,
'valorTotal' => '45,30',
'valorFrete' => 39,
'valorTotal' => '39,80',
'entregaDomiciliar' => true,
'entregaSabado' => true
], $correios);
Expand Down

0 comments on commit fc3db72

Please sign in to comment.