Skip to content

Commit dae8ac5

Browse files
test: update SequentialSigningServiceTest after IAppConfig removal
Removed IAppConfig mock from test setup to match updated service constructor signature. Signed-off-by: Vitor Mattos <[email protected]>
1 parent 0570c1d commit dae8ac5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/php/Unit/Service/SequentialSigningServiceTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,20 @@
1414
use OCA\Libresign\Service\IdentifyMethodService;
1515
use OCA\Libresign\Service\SequentialSigningService;
1616
use OCA\Libresign\Tests\Unit\TestCase;
17-
use OCP\IAppConfig;
1817
use PHPUnit\Framework\Attributes\DataProvider;
1918
use PHPUnit\Framework\MockObject\MockObject;
2019

2120
final class SequentialSigningServiceTest extends TestCase {
22-
private IAppConfig&MockObject $appConfig;
2321
private SignRequestMapper&MockObject $signRequestMapper;
2422
private IdentifyMethodService&MockObject $identifyMethodService;
2523
private SequentialSigningService $service;
2624

2725
public function setUp(): void {
2826
parent::setUp();
29-
$this->appConfig = $this->createMock(IAppConfig::class);
3027
$this->signRequestMapper = $this->createMock(SignRequestMapper::class);
3128
$this->identifyMethodService = $this->createMock(IdentifyMethodService::class);
3229

3330
$this->service = new SequentialSigningService(
34-
$this->appConfig,
3531
$this->signRequestMapper,
3632
$this->identifyMethodService
3733
);

0 commit comments

Comments
 (0)