Skip to content

Commit

Permalink
Complementando teste sefazCCe
Browse files Browse the repository at this point in the history
  • Loading branch information
gersonfs committed May 31, 2024
1 parent b44d05b commit 22e1f85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/ToolsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,13 @@ public function test_sefaz_dist_dfe(): void

public function test_sefazCCe(): void
{
$retorno = $this->tools->sefazCCe('35220605730928000145550010000048661583302923', 'Descrição da correção');
$retorno = $this->tools->sefazCCe(
'35220605730928000145550010000048661583302923',
'Descrição da correção',
1,
new \DateTime('2024-05-31T11:59:12-03:00'),
'12345'
);
//@todo Testar o $retorno
$request = $this->tools->getRequest();
$esperado = $this->getCleanXml(__DIR__ . '/fixtures/xml/exemplo_xml_request_cce_cnpj.xml');
Expand Down

0 comments on commit 22e1f85

Please sign in to comment.