Skip to content

Commit 6837d11

Browse files
authored
fix integ tests (#3351)
1 parent dbd2837 commit 6837d11

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

integration/resources/expected/single/basic_function_with_function_url_config.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,5 @@
1010
{
1111
"LogicalResourceId": "MyLambdaFunctionRole",
1212
"ResourceType": "AWS::IAM::Role"
13-
},
14-
{
15-
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions",
16-
"ResourceType": "AWS::Lambda::Permission"
1713
}
1814
]

integration/resources/expected/single/basic_function_with_function_url_with_autopuplishalias.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,5 @@
1818
{
1919
"LogicalResourceId": "MyLambdaFunctionVersion",
2020
"ResourceType": "AWS::Lambda::Version"
21-
},
22-
{
23-
"LogicalResourceId": "MyLambdaFunctionUrlPublicPermissions",
24-
"ResourceType": "AWS::Lambda::Permission"
2521
}
2622
]

integration/single/test_basic_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def test_basic_function_with_url_config(self, file_name, qualifier):
126126
"MaxAge": 10,
127127
}
128128

129-
self.assertEqual(function_url_config["AuthType"], "NONE")
129+
self.assertEqual(function_url_config["AuthType"], "AWS_IAM")
130130
self.assertEqual(function_url_config["Cors"], cors_config)
131131
self._assert_invoke(lambda_client, function_name, qualifier, 200)
132132

0 commit comments

Comments
 (0)