fix(site-secrets): ManagementActorTests build the ArtifactDeploymentService proxy with the new SiteSecretsCollector ctor arg

Task 6 appended SiteSecretsCollector to ArtifactDeploymentService's constructor; the
NSubstitute class proxy in ManagementActorTests still passed the old ten arguments, so
the four DeployArtifacts_* tests failed with 'Could not find a constructor'. Caught by
the Task 13 full-solution run.
This commit is contained in:
Joseph Doherty
2026-09-28 20:32:26 -04:00
parent 0ccf68951d
commit 1444f85919
@@ -85,7 +85,8 @@ public class ManagementActorTests : TestKit, IDisposable
Substitute.For<IAuditService>(),
Options.Create(new DeploymentManagerOptions()),
NullLogger<ArtifactDeploymentService>.Instance,
new ArtifactRevisionHashService());
new ArtifactRevisionHashService(),
new SiteSecretsCollector(Substitute.For<ZB.MOM.WW.Secrets.Abstractions.ISecretStore>()));
_services.AddScoped(_ => _artifactService);
}