mirror of
https://github.com/splitbrain/dokuwiki-plugin-dw2pdf.git
synced 2025-07-23 01:02:52 +00:00
require autoloader during test
Usually the autoloader is initialized fromt the DokuPDF constructor. This is not called during individual ImageProcessor class tests.
This commit is contained in:
@ -13,6 +13,12 @@ use DokuWikiTest;
|
||||
*/
|
||||
class DokuImageProcessorTest extends DokuWikiTest
|
||||
{
|
||||
public static function setUpBeforeClass(): void
|
||||
{
|
||||
parent::setUpBeforeClass();
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return array the Testdata
|
||||
|
Reference in New Issue
Block a user