Skip to content

Commit

Permalink
update test and ws package
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Jan 27, 2018
1 parent e72f320 commit 9da9b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"php": ">=5.5.9",
"greenter/xmldsig": "^1.0",
"greenter/core": "^1.2",
"greenter/ws": "^1.1",
"greenter/ws": "^1.2",
"greenter/xml": "^1.2"
},
"require-dev": {
Expand Down
4 changes: 3 additions & 1 deletion tests/Greenter/Factory/FeFactoryBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ protected function getInvoice()
->setRznSocial('EMPRESA 1');

$invoice = new Invoice();
$invoice->setTipoDoc('01')
$invoice->setFecVencimiento(new \DateTime())
->setCompra('01-21312312')
->setTipoDoc('01')
->setSerie('F001')
->setCorrelativo('123')
->setFechaEmision($this->getDate())
Expand Down

0 comments on commit 9da9b45

Please sign in to comment.