fix tests

This commit is contained in:
2024-05-10 16:48:29 +02:00
parent 36ee1a5957
commit 69b33d3538
6 changed files with 33 additions and 20 deletions

View File

@ -18,6 +18,7 @@ namespace D3\DataWizard\tests\unit\Application\Model\Exceptions;
use D3\DataWizard\Application\Model\Exceptions\DebugException;
use D3\ModCfg\Tests\unit\d3ModCfgUnitTestCase;
use Exception;
use OxidEsales\Eshop\Core\Registry;
use PHPUnit\Framework\MockObject\MockObject;
use ReflectionException;
@ -51,7 +52,7 @@ class DebugExceptionTest extends d3ModCfgUnitTestCase
);
$this->assertStringContainsString(
'Debug',
Registry::getLang()->translateString('D3_DATAWIZARD_DEBUG'),
$this->callMethod(
$this->_oModel,
'getMessage'