Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <vitor@php.rio>
  • Loading branch information
vitormattos committed Feb 1, 2024
1 parent f017a0c commit d96c74e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/Handler/JSignPdfHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@

use Jeidison\JSignPDF\JSignPDF;
use OCA\Libresign\Handler\JSignPdfHandler;
use OCP\IConfig;
use OCP\AppFramework\Services\IAppConfig;
use PHPUnit\Framework\MockObject\MockObject;

/**
* @internal
*/
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
);
}

Expand Down

0 comments on commit d96c74e

Please sign in to comment.