File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -452,7 +452,7 @@ mod tests {
452
452
fn deserializes_minimal_apigw_http_request_events ( ) {
453
453
// from the docs
454
454
// https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
455
- let input = include_str ! ( "../tests/data/apigw_http_proxy_request_minimal .json" ) ;
455
+ let input = include_str ! ( "../tests/data/apigw_v2_proxy_request_minimal .json" ) ;
456
456
let result = from_str ( input) ;
457
457
assert ! (
458
458
result. is_ok( ) ,
@@ -480,7 +480,7 @@ mod tests {
480
480
fn deserializes_apigw_http_request_events ( ) {
481
481
// from the docs
482
482
// https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-api-gateway-request
483
- let input = include_str ! ( "../tests/data/apigw_http_proxy_request .json" ) ;
483
+ let input = include_str ! ( "../tests/data/apigw_v2_proxy_request .json" ) ;
484
484
let result = from_str ( input) ;
485
485
assert ! (
486
486
result. is_ok( ) ,
@@ -629,7 +629,7 @@ mod tests {
629
629
// * Change the function code to return the Lambda event serialized
630
630
// * sam local start-api
631
631
// * Invoke the API
632
- let input = include_str ! ( "../tests/data/apigw_http_sam_local .json" ) ;
632
+ let input = include_str ! ( "../tests/data/apigw_v2_sam_local .json" ) ;
633
633
let result = from_str ( input) ;
634
634
assert ! (
635
635
result. is_ok( ) ,
You can’t perform that action at this time.
0 commit comments