Skip to content

Commit

Permalink
merge compliant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
clueleaf committed May 8, 2023
1 parent 3445b6b commit 55a38c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/rules/S3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,9 @@ describe('Amazon Simple Storage Service (S3)', () => {
});
validateStack(stack, ruleId, TestType.NON_COMPLIANCE);
});
test('Compliance 1', () => {
test('Compliance', () => {
new Bucket(stack, 'rBucket');
validateStack(stack, ruleId, TestType.COMPLIANCE);
});
test('Compliance 2', () => {
new Bucket(stack, 'rBucket', {
new Bucket(stack, 'rBucket2', {
blockPublicAccess: {
blockPublicPolicy: true,
blockPublicAcls: true,
Expand Down

0 comments on commit 55a38c8

Please sign in to comment.