diff --git a/composer.json b/composer.json index e184d24a..4c7b22ef 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/tests/Greenter/Factory/FeFactoryBase.php b/tests/Greenter/Factory/FeFactoryBase.php index 531f942a..d3aaf951 100644 --- a/tests/Greenter/Factory/FeFactoryBase.php +++ b/tests/Greenter/Factory/FeFactoryBase.php @@ -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())