Skip to content

Commit

Permalink
Use test\verify\Runtime instead of manual checks
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Mar 1, 2024
1 parent 2dfefe0 commit c116aaa
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/test/php/xml/unittest/DomXslProcessorTest.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,12 @@

use io\FileNotFoundException;
use lang\{ElementNotFoundException, IllegalArgumentException};
use test\Assert;
use test\{Expect, Test, Xslmethod};
use test\verify\Runtime;
use test\{Assert, Expect, Test, Xslmethod};
use xml\{DomXSLProcessor, TransformerException};

class DomXslProcessorTest extends AbstractProcessorTest {

/**
* Returns the PHP extension needed for this processor test to work
*
* @return string[]
*/
public function neededExtension() {
return ['dom', 'xsl'];
}
#[Runtime(extensions: ['dom', 'xsl'])]
class DomXslProcessorTest extends AbstractProcessorTest {

/**
* Returns the XSL processor instance to be used
Expand Down

0 comments on commit c116aaa

Please sign in to comment.