Skip to content

Commit 9d0ba8b

Browse files
committed
tests: fix class loading in tests
The DokuImageProcessorDecorator is now namespaced,
1 parent fc682a6 commit 9d0ba8b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_test/DokuImageProcessor.test.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require_once __DIR__ . '/../vendor/autoload.php';
44
require __DIR__ . '/../DokuImageProcessorDecorator.class.php';
55

6+
use dokuwiki\plugin\dw2pdf\DokuImageProcessorDecorator;
7+
68
/**
79
* General tests for the imagemap plugin
810
*
@@ -55,7 +57,7 @@ public function provideGetImageTestdata() {
5557
public function testGetImage($input_file, $input_orig_srcpath, $expected_file, $expected_orig_srcpath, $msg)
5658
{
5759

58-
list($actual_file, $actual_orig_srcpath) = \DokuImageProcessorDecorator::adjustGetImageLinks($input_file,
60+
list($actual_file, $actual_orig_srcpath) = DokuImageProcessorDecorator::adjustGetImageLinks($input_file,
5961
$input_orig_srcpath);
6062

6163
$this->assertEquals($expected_file, $actual_file, '$file ' . $msg);

0 commit comments

Comments
 (0)