diff --git a/tests/Unit/Handler/JSignPdfHandlerTest.php b/tests/Unit/Handler/JSignPdfHandlerTest.php index e3d0ae6d04..a21abfe572 100644 --- a/tests/Unit/Handler/JSignPdfHandlerTest.php +++ b/tests/Unit/Handler/JSignPdfHandlerTest.php @@ -4,7 +4,7 @@ use Jeidison\JSignPDF\JSignPDF; use OCA\Libresign\Handler\JSignPdfHandler; -use OCP\IConfig; +use OCP\AppFramework\Services\IAppConfig; use PHPUnit\Framework\MockObject\MockObject; /** @@ -12,11 +12,11 @@ */ final class JSignPdfHandlerTest extends \OCA\Libresign\Tests\Unit\TestCase { private JSignPdfHandler $class; - private IConfig|MockObject $config; + private IAppConfig|MockObject $appConfig; public function setUp(): void { - $this->config = $this->createMock(IConfig::class); + $this->appConfig = $this->createMock(IAppConfig::class); $this->class = new JSignPdfHandler( - $this->config + $this->appConfig ); }