Skip to content

Commit eaaf969

Browse files
committed
fix wrong test setups
1 parent 299dcb0 commit eaaf969

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration/single/test_basic_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_basic_api_with_mode(self):
4646
stack_output = self.get_stack_outputs()
4747
api_endpoint = stack_output.get("ApiEndpoint")
4848

49-
self.verify_get_request_response(f"{api_endpoint}/get", 200, "AWS::ApiGateway::RestApi")
49+
self.verify_get_request_response(f"{api_endpoint}/get", 200)
5050

5151
# Removes get from the API
5252
self.update_and_verify_stack(file_path="single/basic_api_with_mode_update")

integration/single/test_function_with_http_api_and_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_function_with_http_api_and_auth(self):
1111
# We are not testing that IAM auth works here, we are simply testing if it was applied.
1212
IAM_AUTH_OUTPUT = '{"message":"Forbidden"}'
1313

14-
self.create_and_verify_stack("function_with_http_api_events_and_auth")
14+
self.create_and_verify_stack("single/function_with_http_api_events_and_auth")
1515

1616
implicitEndpoint = self.get_api_v2_endpoint("ServerlessHttpApi")
1717
self.assertEqual(

0 commit comments

Comments
 (0)