diff --git a/tests/CFDITest.php b/tests/CFDITest.php index 5c6aa48..e269bba 100644 --- a/tests/CFDITest.php +++ b/tests/CFDITest.php @@ -43,8 +43,8 @@ public function testGetCertificado() protected function createCFDI() { - $key = './tests/CSD/CSD01_AAA010101AAA.key.pem'; - $cer = './tests/CSD/CSD01_AAA010101AAA.cer.pem'; + $key = file_get_contents('./tests/CSD/CSD01_AAA010101AAA.key.pem'); + $cer = file_get_contents('./tests/CSD/CSD01_AAA010101AAA.cer.pem'); return new CFDI([ 'Serie' => 'A',