1111use OCA \Libresign \AppInfo \Application ;
1212use OCA \Libresign \Handler \CertificateEngine \CertificateEngineFactory ;
1313use OCA \Libresign \Service \CertificatePolicyService ;
14+ use OCA \Libresign \Service \FooterService ;
1415use OCA \Libresign \Service \IdentifyMethodService ;
1516use OCA \Libresign \Service \SignatureBackgroundService ;
1617use OCA \Libresign \Service \SignatureTextService ;
@@ -31,6 +32,7 @@ final class AdminTest extends \OCA\Libresign\Tests\Unit\TestCase {
3132 private IAppConfig &MockObject $ appConfig ;
3233 private SignatureTextService &MockObject $ signatureTextService ;
3334 private SignatureBackgroundService &MockObject $ signatureBackgroundService ;
35+ private FooterService &MockObject $ footerService ;
3436 public function setUp (): void {
3537 $ this ->initialState = $ this ->createMock (IInitialState::class);
3638 $ this ->identifyMethodService = $ this ->createMock (IdentifyMethodService::class);
@@ -39,6 +41,7 @@ public function setUp(): void {
3941 $ this ->appConfig = $ this ->createMock (IAppConfig::class);
4042 $ this ->signatureTextService = $ this ->createMock (SignatureTextService::class);
4143 $ this ->signatureBackgroundService = $ this ->createMock (SignatureBackgroundService::class);
44+ $ this ->footerService = $ this ->createMock (FooterService::class);
4245 $ this ->admin = new Admin (
4346 $ this ->initialState ,
4447 $ this ->identifyMethodService ,
@@ -47,6 +50,7 @@ public function setUp(): void {
4750 $ this ->appConfig ,
4851 $ this ->signatureTextService ,
4952 $ this ->signatureBackgroundService ,
53+ $ this ->footerService ,
5054 );
5155 }
5256
0 commit comments