Skip to content

Commit

Permalink
Fix fe-rechazado Test
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Aug 23, 2017
1 parent e7103fa commit 572cb8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Greenter/Factory/FeFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ public function testInvoiceNotValidZipFileName()
public function testInvoiceRechazado()
{
$invoice = $this->getInvoice();
$invoice->getClient()->setNumDoc('1212');
$invoice->getClient()->setTipoDoc('0');
$result = $this->factory->sendInvoice($invoice);

$this->assertFalse($result->isSuccess());
$this->assertNotNull($result->getError());
$this->assertEquals('2017', $result->getError()->getCode());
$this->assertEquals('2016', $result->getError()->getCode());
}

/**
Expand Down

0 comments on commit 572cb8f

Please sign in to comment.