fix(cloudformation): pass the CloudFront service argument in the provisioner tests (#2261)

#1820 added a CloudFrontService parameter to the
CloudFormationResourceProvisioner constructor. Three tests that construct
it directly landed from other branches around the same time and were never
updated: the two EventBus ownership tests from #1807, and
DynamoDbReplicaCfnProvisionerTest from #1811. None of those PRs touched
#1820's files, so each passed CI on its own branch and main stopped
compiling once they had all landed.

All three supplied 33 arguments to a 34-parameter constructor. Adds the
missing null in the cloudFrontService position, immediately before the
resource registry.

Swept every remaining `new CloudFormationResourceProvisioner(` call site in
the tree; the other six already match, so nine of nine now agree with the
constructor.

Test sources only; no production behaviour changes.
This commit is contained in:
Priamo Germosen authored and GitHub committed 2026-08-12 21:29:14 -04:00
1 parent a29464abc7
commit 6ca7d44af0
3 files changed
+3 -3

No files matched your search

@@ -34,7 +34,7 @@ class DynamoDbReplicaCfnProvisionerTest {
provisioner = new CloudFormationResourceProvisioner(
null, null, null, dynamoDbService, null, null, null, null, null, null,
null, null, null, null, null, null, mapper, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null,
new CloudFormationResourceRegistry(List.of()));
}
@@ -45,7 +45,7 @@ class EventBusDeleteOwnershipTest {
new ObjectMapper(),
null, null, null, null, null, null, null,
null, null, null, null, null, null, null,
null,
null, null,
new CloudFormationResourceRegistry(List.of()));
}
@@ -58,7 +58,7 @@ class EventBusProvisionOwnershipTest {
MAPPER,
null, null, null, null, null, null, null,
null, null, null, null, null, null, null,
null,
null, null,
new CloudFormationResourceRegistry(List.of()));
}