File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace MarioDevv \ Rex \ Tests \ Facturae ;
5+ namespace PhpFacturae \ Tests ;
66
77use PhpFacturae \Tests \Mother \InvoiceMother ;
88use PHPUnit \Framework \TestCase ;
@@ -23,7 +23,11 @@ public static function setUpBeforeClass(): void
2323 public function test_canary_igic_invoice (): void
2424 {
2525 $ path = self ::$ distDir . '/factura-canaria-igic.xsig ' ;
26- InvoiceMother::canaryIgic ()->export ($ path );
26+ try {
27+ InvoiceMother::canaryIgic ()->export ($ path );
28+ } catch (\Throwable $ e ) {
29+ $ this ->fail ($ e ::class . ': ' . $ e ->getMessage ());
30+ }
2731 $ this ->assertValidFacturae ($ path );
2832 }
2933
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace MarioDevv \ Rex \ Tests \ Facturae ;
5+ namespace PhpFacturae \ Tests ;
66
77use PhpFacturae \Exceptions \InvoiceValidationException ;
88use PhpFacturae \Invoice ;
Original file line number Diff line number Diff line change 11<?php
22declare (strict_types=1 );
3- namespace MarioDevv \ Rex \ Tests \ Facturae ;
3+ namespace PhpFacturae \ Tests ;
44use PhpFacturae \Entities \Line ;
55use PHPUnit \Framework \TestCase ;
66
Original file line number Diff line number Diff line change 11<?php
22declare (strict_types=1 );
33
4- namespace MarioDevv \ Rex \ Tests \ Facturae ;
4+ namespace PhpFacturae \ Tests ;
55use PhpFacturae \Party ;
66use PhpFacturae \Exceptions \InvalidPostalCodeException ;
77use PHPUnit \Framework \TestCase ;
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace MarioDevv \ Rex \ Tests \ Facturae ;
5+ namespace PhpFacturae \ Tests ;
66
77use PhpFacturae \Tests \Mother \InvoiceMother ;
88use PHPUnit \Framework \TestCase ;
You can’t perform that action at this time.
0 commit comments