mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
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:
1 parent
a29464abc7
commit
6ca7d44af0
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user