Skip to content

Commit

Permalink
Fix testing as a result of schema changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Jul 8, 2024
1 parent 4e61025 commit edf35be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/templates/good/resources_codepipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Resources:
ArtifactStore:
Location: 'pipeline-bucket'
Type: S3
RoleArn: arn:aws:iam:::role/AWSCodePipelineRole
RoleArn: !Sub "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/AWSCodePipelineRole"
Stages:
- Name: Source
Actions:
Expand Down
2 changes: 1 addition & 1 deletion test/unit/module/cfn_yaml/test_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def setUp(self):
},
"generic_bad": {
"filename": "test/fixtures/templates/bad/generic.yaml",
"failures": 28,
"failures": 27,
},
}

Expand Down
2 changes: 1 addition & 1 deletion test/unit/module/test_rules_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_fail_run(self):
filename = "test/fixtures/templates/bad/generic.yaml"
template = cfnlint.decode.cfn_yaml.load(filename)
cfn = Template(filename, template, ["us-east-1"])
expected_err_count = 31
expected_err_count = 30
matches = []
matches.extend(self.rules.run(filename, cfn))
assert (
Expand Down

0 comments on commit edf35be

Please sign in to comment.