Skip to content

Commit

Permalink
Add more unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinZZ committed Jul 10, 2024
1 parent 2f73bf8 commit 9080c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/aws-apigateway/test/method.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ describe('method', () => {
});
});

test('Override auth scope in the method over rest api', () => {
test('Expect auth scope to be none when auth type is not Cognito', () => {
const stack = new cdk.Stack();
const api = new apigw.RestApi(stack, 'test-api', {
cloudWatchRole: false,
Expand Down

0 comments on commit 9080c83

Please sign in to comment.