1414use OCA \Libresign \Service \DocMdp \ConfigService as DocMdpConfigService ;
1515use OCA \Libresign \Service \FooterService ;
1616use OCA \Libresign \Service \IdentifyMethodService ;
17+ use OCA \Libresign \Service \Policy \PolicyService ;
1718use OCA \Libresign \Service \SignatureBackgroundService ;
1819use OCA \Libresign \Service \SignatureTextService ;
1920use OCA \Libresign \Settings \Admin ;
@@ -35,6 +36,7 @@ final class AdminTest extends \OCA\Libresign\Tests\Unit\TestCase {
3536 private SignatureBackgroundService &MockObject $ signatureBackgroundService ;
3637 private FooterService &MockObject $ footerService ;
3738 private DocMdpConfigService &MockObject $ docMdpConfigService ;
39+ private PolicyService &MockObject $ policyService ;
3840 public function setUp (): void {
3941 $ this ->initialState = $ this ->createMock (IInitialState::class);
4042 $ this ->identifyMethodService = $ this ->createMock (IdentifyMethodService::class);
@@ -45,6 +47,7 @@ public function setUp(): void {
4547 $ this ->signatureBackgroundService = $ this ->createMock (SignatureBackgroundService::class);
4648 $ this ->footerService = $ this ->createMock (FooterService::class);
4749 $ this ->docMdpConfigService = $ this ->createMock (DocMdpConfigService::class);
50+ $ this ->policyService = $ this ->createMock (PolicyService::class);
4851 $ this ->admin = new Admin (
4952 $ this ->initialState ,
5053 $ this ->identifyMethodService ,
@@ -55,6 +58,7 @@ public function setUp(): void {
5558 $ this ->signatureBackgroundService ,
5659 $ this ->footerService ,
5760 $ this ->docMdpConfigService ,
61+ $ this ->policyService ,
5862 );
5963 }
6064
0 commit comments