mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
test: update SequentialSigningServiceTest after IAppConfig removal
Removed IAppConfig mock from test setup to match updated service constructor signature. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
d5e3cae60c
commit
3d9652487c
1 changed files with 0 additions and 4 deletions
|
|
@ -14,24 +14,20 @@ use OCA\Libresign\Enum\SignatureFlow;
|
|||
use OCA\Libresign\Service\IdentifyMethodService;
|
||||
use OCA\Libresign\Service\SequentialSigningService;
|
||||
use OCA\Libresign\Tests\Unit\TestCase;
|
||||
use OCP\IAppConfig;
|
||||
use PHPUnit\Framework\Attributes\DataProvider;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
|
||||
final class SequentialSigningServiceTest extends TestCase {
|
||||
private IAppConfig&MockObject $appConfig;
|
||||
private SignRequestMapper&MockObject $signRequestMapper;
|
||||
private IdentifyMethodService&MockObject $identifyMethodService;
|
||||
private SequentialSigningService $service;
|
||||
|
||||
public function setUp(): void {
|
||||
parent::setUp();
|
||||
$this->appConfig = $this->createMock(IAppConfig::class);
|
||||
$this->signRequestMapper = $this->createMock(SignRequestMapper::class);
|
||||
$this->identifyMethodService = $this->createMock(IdentifyMethodService::class);
|
||||
|
||||
$this->service = new SequentialSigningService(
|
||||
$this->appConfig,
|
||||
$this->signRequestMapper,
|
||||
$this->identifyMethodService
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue