Skip to content

Commit

Permalink
fix integ tests (#3351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssenchenko committed Sep 22, 2023
1 parent dbd2837 commit 6837d11
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
{
"LogicalResourceId": "MyLambdaFunctionRole",
"ResourceType": "AWS::IAM::Role"
},
{
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions",
"ResourceType": "AWS::Lambda::Permission"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,5 @@
{
"LogicalResourceId": "MyLambdaFunctionVersion",
"ResourceType": "AWS::Lambda::Version"
},
{
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions",
"ResourceType": "AWS::Lambda::Permission"
}
]
2 changes: 1 addition & 1 deletion integration/single/test_basic_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_basic_function_with_url_config(self, file_name, qualifier):
"MaxAge": 10,
}

self.assertEqual(function_url_config["AuthType"], "NONE")
self.assertEqual(function_url_config["AuthType"], "AWS_IAM")
self.assertEqual(function_url_config["Cors"], cors_config)
self._assert_invoke(lambda_client, function_name, qualifier, 200)

Expand Down

0 comments on commit 6837d11

Please sign in to comment.