skip test, because php 8.0 contain internally validation

This commit is contained in:
Libor M 2020-12-11 07:53:33 +01:00
parent 4b4dfb4ccd
commit 36b63a107c
1 changed files with 5 additions and 0 deletions

View File

@ -140,6 +140,11 @@ final class TemplateProcessorTest extends \PHPUnit\Framework\TestCase
*/
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
{
// Test is not needed for PHP 8.0, because internally validation throws TypeError exception.
if (\PHP_VERSION_ID >= 80000) {
$this->markTestSkipped('not needed for PHP 8.0');
}
$templateProcessor = new TemplateProcessor(__DIR__ . '/_files/templates/blank.docx');
$xslDomDocument = new \DOMDocument();